From 246e47e76e76b5b68a859c4a3bc7f8a42f8d8fc5 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 7 Aug 2015 17:12:39 +0530 Subject: [PATCH] [fix] Dashboard in customer / supplier --- erpnext/buying/doctype/supplier/supplier.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erpnext/buying/doctype/supplier/supplier.js b/erpnext/buying/doctype/supplier/supplier.js index 19050a419f3..b6b6ce58120 100644 --- a/erpnext/buying/doctype/supplier/supplier.js +++ b/erpnext/buying/doctype/supplier/supplier.js @@ -46,6 +46,8 @@ cur_frm.cscript.make_dashboard = function(doc) { + ' / ' + __("Total Unpaid") + ": " + format_currency(r.message.total_unpaid, r.message.company_currency[0]) + ''); + } else { + cur_frm.dashboard.set_headline(""); } } cur_frm.dashboard.set_badge_count(r.message);