From 9efd6e80d2734d3bdced47d0ddf85a0a81eb65f3 Mon Sep 17 00:00:00 2001 From: Achilles Rasquinha Date: Thu, 8 Mar 2018 13:20:48 +0530 Subject: [PATCH] fixed tabs --- .../doctype/patient_appointment/patient_appointment.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/healthcare/doctype/patient_appointment/patient_appointment.py b/erpnext/healthcare/doctype/patient_appointment/patient_appointment.py index c715b1b24a6..b0833026591 100755 --- a/erpnext/healthcare/doctype/patient_appointment/patient_appointment.py +++ b/erpnext/healthcare/doctype/patient_appointment/patient_appointment.py @@ -122,6 +122,7 @@ def get_availability_data(date, physician): if available_slots: appointments = [] + if schedule.service_unit: slot_name = schedule.schedule+" - "+schedule.service_unit allow_overlap = frappe.get_value('Patient Service Unit', schedule.service_unit, 'overlap_appointments')