fix sider
This commit is contained in:
parent
e1e4810a46
commit
358153b04b
@ -49,6 +49,7 @@ frappe.ui.form.on('Patient', {
|
||||
if(!frm.doc.dob){
|
||||
$(frm.fields_dict['age_html'].wrapper).html('');
|
||||
}
|
||||
|
||||
if(frm.doc.dob){
|
||||
$(frm.fields_dict['age_html'].wrapper).html(`${__('AGE')} : ${get_age(frm.doc.dob)}`);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user