amsrk
1
Custom script created for the Amount_in_words
frappe.ui.form.on(“Payment Entry”,‘paid_amount’, function(frm) {
frappe.model.set_value(frm.doctype, frm.docname, "amount_in_words", frappe.utils.money_in_words(frm.paid_amount));
});
frm.reload_doc();
});
amsrk
2
Any Help appreciated to make the script work
I think frappe.utils.money_in_words is not available in JS
To use it see this.
sanjay
4
It should be frm.doc.paid_amount instead of frm.paid_amount.
I also need a solution for this issue