Remove print statements - Healthcare utils (#15363)

This commit is contained in:
Jamsheer 2018-09-11 17:32:52 +05:30 committed by Nabin Hait
parent 508189eaea
commit ede924c4a2

View File

@ -307,9 +307,6 @@ def manage_fee_validity(appointment_name, method, ref_invoice=None):
fee_validity = create_fee_validity(appointment_doc.practitioner, appointment_doc.patient, appointment_doc.appointment_date, ref_invoice)
visited = fee_validity.visited
print("do_not_update: ", do_not_update)
print("visited: ", visited)
# Mark All Patient Appointment invoiced = True in the validity range do not cross the max visit
if (method == "on_cancel"):
invoiced = True
@ -410,7 +407,6 @@ def get_children(doctype, parent, company, is_root=False):
lft > %s and rgt < %s""",
(each['lft'], each['rgt']))
for child in child_list:
print(child[0], child[1])
if not occupied:
occupied = 0
if child[1] == "Occupied":