commit | 358153b04b81e1fbf3fc92bae06369a31509a7f3 | [log] [tgz] |
---|---|---|
author | David Angulo <david.angulo.arias@gmail.com> | Tue Mar 09 13:19:12 2021 -0600 |
committer | GitHub <noreply@github.com> | Tue Mar 09 13:19:12 2021 -0600 |
tree | a7fe81b1ac29e9b5648b28f01962eccd492cd984 | |
parent | e1e4810a466f1146fafde434216a043f8857be07 [diff] |
fix sider
diff --git a/erpnext/healthcare/doctype/patient/patient.js b/erpnext/healthcare/doctype/patient/patient.js index 15e203a..49478cc 100644 --- a/erpnext/healthcare/doctype/patient/patient.js +++ b/erpnext/healthcare/doctype/patient/patient.js
@@ -49,6 +49,7 @@ 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)}`); }