From 4e195d97c7ddadc7730ea210448657025d783b37 Mon Sep 17 00:00:00 2001 From: system19 Date: Tue, 30 Jan 2018 19:18:24 +1100 Subject: [PATCH] Minor - Healthcare Desktop UI (#12657) * Minor - Healthcare Desktop UI Minor - Healthcare Desktop UI * Update desktop.py --- erpnext/config/desktop.py | 47 ++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/erpnext/config/desktop.py b/erpnext/config/desktop.py index ffe99967ac..18bb36b01d 100644 --- a/erpnext/config/desktop.py +++ b/erpnext/config/desktop.py @@ -283,7 +283,7 @@ def get_data(): "label": _("Education"), "hidden": 1 }, - { + { "module_name": "Healthcare", "color": "#FF888B", "icon": "fa fa-heartbeat", @@ -291,30 +291,15 @@ def get_data(): "label": _("Healthcare"), "hidden": 1 }, - { - "module_name": "Lab Test", - "color": "#7578f6", - "icon": "octicon octicon-beaker", - "doctype": "Lab Test", - "type": "list", - "link": "List/Lab Test", - "label": _("Lab Test") - }, - { - "module_name": "Consultation", - "color": "#2ecc71", - "icon": "fa fa-stethoscope", - "doctype": "Consultation", - "type": "link", - "label": _("Consultationt") - }, { "module_name": "Patient", "color": "#6BE273", "icon": "fa fa-user", "doctype": "Patient", "type": "link", - "label": _("Patient") + "link": "List/Patient", + "label": _("Patient"), + "hidden": 1 }, { "module_name": "Patient Appointment", @@ -322,7 +307,29 @@ def get_data(): "icon": "fa fa-calendar-plus-o", "doctype": "Patient Appointment", "type": "link", - "label": _("Patient Appointment") + "link": "List/Patient Appointment", + "label": _("Patient Appointment"), + "hidden": 1 + }, + { + "module_name": "Consultation", + "color": "#2ecc71", + "icon": "fa fa-stethoscope", + "doctype": "Consultation", + "type": "link", + "link": "List/Consultation", + "label": _("Consultation"), + "hidden": 1 + }, + { + "module_name": "Lab Test", + "color": "#7578f6", + "icon": "octicon octicon-beaker", + "doctype": "Lab Test", + "type": "list", + "link": "List/Lab Test", + "label": _("Lab Test"), + "hidden": 1 }, { "module_name": "Hub",