mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
fix: sider
This commit is contained in:
committed by
Deepesh Garg
parent
2c56ae78a7
commit
1e7133baf1
@@ -11,9 +11,9 @@ frappe.ui.form.on('Payment Term', {
|
|||||||
if (frm.doc.discount) {
|
if (frm.doc.discount) {
|
||||||
let description = __("{0}% of total invoice value will be given as discount.", [frm.doc.discount]);
|
let description = __("{0}% of total invoice value will be given as discount.", [frm.doc.discount]);
|
||||||
if (frm.doc.discount_type == 'Amount') {
|
if (frm.doc.discount_type == 'Amount') {
|
||||||
description = __("{0} will be given as discount.", [fmt_money(frm.doc.discount)])
|
description = __("{0} will be given as discount.", [fmt_money(frm.doc.discount)]);
|
||||||
}
|
}
|
||||||
frm.set_df_property("discount", "description", description);
|
frm.set_df_property("discount", "description", description);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
Reference in New Issue
Block a user