From b072c74efc389abe68180b7e3470659ef984785d Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 16 Dec 2014 12:49:13 +0530 Subject: [PATCH] render address and contacts for party --- erpnext/public/js/utils.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js index cec4ddab3a..f716723c52 100644 --- a/erpnext/public/js/utils.js +++ b/erpnext/public/js/utils.js @@ -1,6 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt frappe.provide("erpnext"); +frappe.provide("erpnext.utils"); $.extend(erpnext, { get_currency: function(company) { @@ -100,7 +101,8 @@ $.extend(erpnext, { }, }); -erpnext.utils = { + +$.extend(erpnext.utils, { render_address_and_contact: function(frm) { // render address $(frm.fields_dict['address_html'].wrapper) @@ -121,4 +123,4 @@ erpnext.utils = { ); } } -} +})