New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.4+1.5: 'Update' in the single payment screen resets payment amount back to 0 #1916
Comments
This is the sort fo thing we'd want to backport a fix to 1.4 as well, I think (though if you want to come up with the fix, I am happy to backport) |
ok. so, I've worked on this and after several attempts, I came to the conclusion which @ylavoie was trying to tell me (I think), which is: the format_amount() function in the template doesn't work. Even more: In our source tree (within the scope of 'lib/LedgerSMB/Template*') I can't find any reference to that function. I'm thinking it doesn't exist. |
format_amount() in a template needs an additional format parameter iirc. it is not intended to be used for user info but for specific info aimed at clients, so you can print checks in a certain number format. Yeah, don't use it in the templates unless you are printing |
I think it might be added during the print checks work flow to the template.... |
oh. I mean UI template: |
16144d9 seems to be the commit which fixes this. All we now need is verification and backport. |
fix confirmed |
No description provided.
The text was updated successfully, but these errors were encountered: