mirror of
https://github.com/frappe/erpnext.git
synced 2026-10-29 22:57:42 +00:00
fix(accounts): use company currency in cheque amount in words
(cherry picked from commit 6c9f0cfa5d)
This commit is contained in:
@@ -107,7 +107,7 @@ def create_or_update_cheque_print_format(template_name):
|
||||
<span style="top:{amt_in_words_from_top_edge}cm; left:{amt_in_words_from_left_edge}cm;
|
||||
position: absolute; display: block; width: {amt_in_word_width}cm;
|
||||
line-height:{amt_in_words_line_spacing}cm; word-wrap: break-word;">
|
||||
{{{{frappe.utils.money_in_words(doc.base_paid_amount or doc.base_received_amount)}}}}
|
||||
{{{{frappe.utils.money_in_words(doc.base_paid_amount or doc.base_received_amount, doc.company_currency)}}}}
|
||||
</span>
|
||||
<span style="top:{amt_in_figures_from_top_edge}cm;left: {amt_in_figures_from_left_edge}cm;
|
||||
position: absolute; min-width: 4cm;">
|
||||
|
||||
Reference in New Issue
Block a user