fix: invoiced field position, medical department field corrected in query

This commit is contained in:
anoop 2020-05-21 03:08:47 +05:30 committed by Nabin Hait
parent 470fe65cc1
commit f579680b97
2 changed files with 3 additions and 3 deletions

View File

@ -39,9 +39,9 @@
"section_break_16", "section_break_16",
"mode_of_payment", "mode_of_payment",
"billing_item", "billing_item",
"invoiced",
"column_break_2", "column_break_2",
"paid_amount", "paid_amount",
"invoiced",
"ref_sales_invoice", "ref_sales_invoice",
"section_break_3", "section_break_3",
"referring_practitioner", "referring_practitioner",
@ -348,7 +348,7 @@
} }
], ],
"links": [], "links": [],
"modified": "2020-04-27 21:36:06.404062", "modified": "2020-05-21 03:04:21.400893",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Healthcare", "module": "Healthcare",
"name": "Patient Appointment", "name": "Patient Appointment",

View File

@ -447,7 +447,7 @@ def get_prescribed_therapies(patient):
""" """
SELECT SELECT
t.therapy_type, t.name, t.parent, e.practitioner, t.therapy_type, t.name, t.parent, e.practitioner,
e.encounter_date, e.therapy_plan, e.visit_department e.encounter_date, e.therapy_plan, e.medical_department
FROM FROM
`tabPatient Encounter` e, `tabTherapy Plan Detail` t `tabPatient Encounter` e, `tabTherapy Plan Detail` t
WHERE WHERE