render address and contacts for party
This commit is contained in:
parent
b2a84c7cd9
commit
b072c74efc
@ -1,6 +1,7 @@
|
|||||||
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
||||||
// License: GNU General Public License v3. See license.txt
|
// License: GNU General Public License v3. See license.txt
|
||||||
frappe.provide("erpnext");
|
frappe.provide("erpnext");
|
||||||
|
frappe.provide("erpnext.utils");
|
||||||
|
|
||||||
$.extend(erpnext, {
|
$.extend(erpnext, {
|
||||||
get_currency: function(company) {
|
get_currency: function(company) {
|
||||||
@ -100,7 +101,8 @@ $.extend(erpnext, {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
erpnext.utils = {
|
|
||||||
|
$.extend(erpnext.utils, {
|
||||||
render_address_and_contact: function(frm) {
|
render_address_and_contact: function(frm) {
|
||||||
// render address
|
// render address
|
||||||
$(frm.fields_dict['address_html'].wrapper)
|
$(frm.fields_dict['address_html'].wrapper)
|
||||||
@ -121,4 +123,4 @@ erpnext.utils = {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user