From 1e7133baf1ae07f25255deadd17f25b9cf71edc4 Mon Sep 17 00:00:00 2001 From: Saqib Ansari Date: Tue, 16 Feb 2021 17:57:44 +0530 Subject: [PATCH] fix: sider --- erpnext/accounts/doctype/payment_term/payment_term.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/doctype/payment_term/payment_term.js b/erpnext/accounts/doctype/payment_term/payment_term.js index 25835298a48..3986c36c440 100644 --- a/erpnext/accounts/doctype/payment_term/payment_term.js +++ b/erpnext/accounts/doctype/payment_term/payment_term.js @@ -11,9 +11,9 @@ frappe.ui.form.on('Payment Term', { if (frm.doc.discount) { let description = __("{0}% of total invoice value will be given as discount.", [frm.doc.discount]); 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); } } -}) \ No newline at end of file +}); \ No newline at end of file