Skip to Content
Menu
This question has been flagged
3 Replies
6029 Views

For sales orders, purchase orders, and invoice emails the total amount doesn't round to 2 digits each time like it should. We are sending invoices that indicate a dollar value of $1,000.1 is owed for instance instead of $1,000.10 which would be the proper format.

What is the appropriate syntax to edit these templates to get the rounding correct? I've set up the decimal accuracy already but that doesn't fix this. I've tried round() and formatLang() inside the {$ } but that isn't working.

Thanks!

Avatar
Discard

I have this same issue - anyone figure out how to get the 2 decimal places to show? It shows correctly in the actual invoice but not in the email template... Thanks!

I have this same issue, also in official screen shots.

Best Answer

you can try this

${format_amount(object.amount_total, object.currency_id)}

Avatar
Discard
Related Posts Replies Views Activity
0
Dec 24
567
3
May 24
1304
1
Feb 24
3124
1
Dec 23
1516
2
Apr 23
1571