fix: sider issues
This commit is contained in:
parent
7a69a3367c
commit
ed3fc20731
@ -24,7 +24,7 @@ frappe.pages['patient_history'].on_page_load = function(wrapper) {
|
||||
if (pid != patient_id && patient_id) {
|
||||
me.start = 0;
|
||||
me.page.main.find('.patient_documents_list').html('');
|
||||
setup_filters(patient_id, me)
|
||||
setup_filters(patient_id, me);
|
||||
get_documents(patient_id, me);
|
||||
show_patient_info(patient_id, me);
|
||||
show_patient_vital_charts(patient_id, me, 'bp', 'mmHg', 'Blood Pressure');
|
||||
@ -142,7 +142,7 @@ let setup_filters = function(patient, me) {
|
||||
});
|
||||
date_range_field.refresh();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
let get_documents = function(patient, me, document_types="", selected_date_range="") {
|
||||
let filters = {
|
||||
@ -194,7 +194,7 @@ let add_to_records = function(me, data) {
|
||||
time_line_heading += data[i].reference_doctype + " - " +
|
||||
`<a onclick="frappe.set_route('Form', '${data[i].reference_doctype}', '${data[i].reference_name}');">
|
||||
${data[i].reference_name}
|
||||
</a>`
|
||||
</a>`;
|
||||
|
||||
details += `
|
||||
<li data-toggle='pill' class='patient_doc_menu'
|
||||
@ -283,7 +283,7 @@ let show_patient_info = function(patient, me) {
|
||||
}
|
||||
|
||||
details += `<b> ${data.patient_name} </b><br> ${data.sex}`;
|
||||
if (data.email) details += `<br> ${data.email}`
|
||||
if (data.email) details += `<br> ${data.email}`;
|
||||
if (data.mobile) details += `<br> ${data.mobile}`;
|
||||
if (data.occupation) details += `<br><br><b> ${__('Occupation')} : </b> ${data.occupation}`;
|
||||
if (data.blood_group) details += `<br><b> ${__('Blood Group')} : </b> ${data.blood_group}`;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user