refactor: open links in new tab in form tour
This commit is contained in:
parent
f472a19889
commit
89dab1bc25
@ -16,7 +16,6 @@ def get(chart_name = None, chart = None, no_cache = None, filters = None, from_d
|
||||
else:
|
||||
chart = frappe._dict(frappe.parse_json(chart))
|
||||
|
||||
labels, datapoints = [], []
|
||||
filters = frappe.parse_json(filters)
|
||||
|
||||
data = frappe.db.get_list('Medical Department', fields=['name'])
|
||||
@ -33,7 +32,7 @@ def get(chart_name = None, chart = None, no_cache = None, filters = None, from_d
|
||||
department[frappe.scrub(entry)] = frappe.db.count('Patient Appointment', filters=filters)
|
||||
filters.pop('status')
|
||||
|
||||
sorted_department_map = sorted(data, key = lambda i: i['total_appointments'],reverse=True)
|
||||
sorted_department_map = sorted(data, key = lambda i: i['total_appointments'], reverse=True)
|
||||
|
||||
if len(sorted_department_map) > 10:
|
||||
sorted_department_map = sorted_department_map[:10]
|
||||
|
@ -168,8 +168,8 @@ frappe.tour['Clinical Procedure Template'] = [
|
||||
},
|
||||
{
|
||||
fieldname: 'consume_stock',
|
||||
title: __('Consume Stock'),
|
||||
description: __('Check this if the Clinical Procedure utilises consumables. Click ') + "<a href='https://docs.erpnext.com/docs/user/manual/en/healthcare/clinical_procedure_template#22-manage-procedure-consumables'>here</a>" + __(' to know more')
|
||||
title: __('Allow Stock Consumption'),
|
||||
description: __('Check this if the Clinical Procedure utilises consumables. Click ') + "<a href='https://docs.erpnext.com/docs/user/manual/en/healthcare/clinical_procedure_template#22-manage-procedure-consumables' target='_blank'>here</a>" + __(' to know more')
|
||||
|
||||
},
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ frappe.tour['Healthcare Settings'] = [
|
||||
{
|
||||
fieldname: 'healthcare_service_items',
|
||||
title: __('Healthcare Service Items'),
|
||||
description: __('Set up the Healthcare Service Items for billing. Click ') + "<a href='https://docs.erpnext.com/docs/user/manual/en/healthcare/healthcare_settings#2-default-healthcare-service-items'>here</a>" + __(' to know more')
|
||||
description: __('Set up the Healthcare Service Items for billing. Click ') + "<a href='https://docs.erpnext.com/docs/user/manual/en/healthcare/healthcare_settings#2-default-healthcare-service-items' target='_blank'>here</a>" + __(' to know more')
|
||||
},
|
||||
{
|
||||
fieldname: 'sb_in_ac',
|
||||
@ -70,6 +70,6 @@ frappe.tour['Healthcare Settings'] = [
|
||||
{
|
||||
fieldname: 'out_patient_sms_alerts',
|
||||
title: __('Out Patient SMS alerts'),
|
||||
description: __('You can set up Out Patient SMS alerts here. Click ') + "<a href='https://docs.erpnext.com/docs/user/manual/en/healthcare/healthcare_settings#4-out-patient-sms-alerts'>here</a>" + __(' to know more')
|
||||
description: __('You can set up Out Patient SMS alerts here. Click ') + "<a href='https://docs.erpnext.com/docs/user/manual/en/healthcare/healthcare_settings#4-out-patient-sms-alerts' target='_blank'>here</a>" + __(' to know more')
|
||||
}
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user