fix(accounts): print cheques in bank account currency

(cherry picked from commit b80db31c7d)
This commit is contained in:
pandiyan
2026-10-28 12:20:55 +05:30
parent 5e2c49cc60
commit ac56ebd24a
@@ -108,11 +108,11 @@ 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, doc.company_currency)}}}}
{{{{doc.in_words}}}}
</span>
<span style="top:{amt_in_figures_from_top_edge}cm;left: {amt_in_figures_from_left_edge}cm;
position: absolute; min-width: 4cm;">
{{{{doc.get_formatted("base_paid_amount") or doc.get_formatted("base_received_amount")}}}}
{{{{doc.get_formatted("received_amount" if doc.payment_type == "Receive" else "paid_amount")}}}}
</span>
<span style="top:{signatory_from_top_edge}cm;left: {signatory_from_left_edge}cm;
position: absolute; min-width: 6cm;">