Hi!
I am making print format for cheque writing but i’m having trouble on removing the currency (PHP) in words. I want it only to print the “One Hundred Thousand only” not “PHP One Hundred Thousand Only” can someone help me.
Hi!
I am making print format for cheque writing but i’m having trouble on removing the currency (PHP) in words. I want it only to print the “One Hundred Thousand only” not “PHP One Hundred Thousand Only” can someone help me.
{{ frappe.utils.money_in_words(doc.grand_total).replace(‘PHP’, ‘’).strip() }}
Try
frappe.utils.in_words(amount)