mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 20:29:09 +00:00
Set get_contact_details to the right standard!
This commit is contained in:
@@ -8,8 +8,9 @@ frappe.ui.form.on_change("Maintenance Schedule", "customer", function(frm) {
|
|||||||
frappe.ui.form.on_change("Maintenance Schedule", "customer_address", function(){
|
frappe.ui.form.on_change("Maintenance Schedule", "customer_address", function(){
|
||||||
erpnext.utils.get_address_display(cur_frm, 'customer_address', 'address_display');
|
erpnext.utils.get_address_display(cur_frm, 'customer_address', 'address_display');
|
||||||
});
|
});
|
||||||
frappe.ui.form.on_change("Maintenance Schedule", "contact_person",
|
frappe.ui.form.on_change("Maintenance Schedule", "contact_person", function(){
|
||||||
erpnext.utils.get_contact_details);
|
erpnext.utils.get_contact_details(cur_frm);
|
||||||
|
});
|
||||||
|
|
||||||
// TODO commonify this code
|
// TODO commonify this code
|
||||||
erpnext.support.MaintenanceSchedule = frappe.ui.form.Controller.extend({
|
erpnext.support.MaintenanceSchedule = frappe.ui.form.Controller.extend({
|
||||||
|
|||||||
Reference in New Issue
Block a user