mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 23:52:57 +00:00
[py3] print, StringIO import, and other fixes
This commit is contained in:
@@ -307,8 +307,8 @@ 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
|
||||
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"):
|
||||
@@ -410,7 +410,7 @@ 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]
|
||||
print(child[0], child[1])
|
||||
if not occupied:
|
||||
occupied = 0
|
||||
if child[1] == "Occupied":
|
||||
|
||||
Reference in New Issue
Block a user