summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-08-10 11:01:05 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-08-10 11:01:05 +0700
commit81c87b71d6cb7caad7230b9cca8545155d917214 (patch)
tree92afd7e853359872687e7492d365c9a586368bf9
parent7ee80ff94e33bb3cda3059a9571ede74e2ea4539 (diff)
fix format price email template
-rw-r--r--indoteknik_custom/views/mail_template_po.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/views/mail_template_po.xml b/indoteknik_custom/views/mail_template_po.xml
index 77c21837..410520b3 100644
--- a/indoteknik_custom/views/mail_template_po.xml
+++ b/indoteknik_custom/views/mail_template_po.xml
@@ -54,10 +54,10 @@
% if line.price_vendor != 0 and line.price_unit != line.price_vendor
<ul>
<li>Nama Produk: ${line.product_id.name}</li>
- <li>Harga Unit dalam PO: ${line.price_unit}</li>
- <li>Harga Unit dalam Purchase Pricelist: ${line.price_vendor}</li>
+ <li>Harga Unit dalam PO: Rp ${'{:,.2f}'.format(line.price_unit)}</li>
+ <li>Harga Unit dalam Purchase Pricelist: Rp ${'{:,.2f}'.format(line.price_vendor)}</li>
</ul>
- % endif
+ % endif
% endfor
Silahkan periksa dan lakukan koreksi jika diperlukan.
<br/><br/>