fix(accounts): use company currency in cheque amount in words

(cherry picked from commit 6c9f0cfa5d)
This commit is contained in:
nareshkannasln
2026-10-25 15:39:21 +00:00
committed by Mergify
parent 3ba43326e2
commit 11838d800f
@@ -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;">