fix- cannot cancel consultation, remove updating age (#13226)
This commit is contained in:
parent
1643cce479
commit
a3a63177a1
@ -23,11 +23,6 @@ frappe.ui.form.on('Consultation', {
|
||||
patient: frm.doc.patient
|
||||
},
|
||||
callback: function (data) {
|
||||
var age = null;
|
||||
if(data.message.dob){
|
||||
age = calculate_age(data.message.dob);
|
||||
}
|
||||
frappe.model.set_value(frm.doctype,frm.docname, "patient_age", age);
|
||||
show_details(data.message);
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user