diff --git a/netforce_clinic/layouts/clinic_make_apt.xml b/netforce_clinic/layouts/clinic_make_apt.xml index 824ddbe..6ff2be3 100644 --- a/netforce_clinic/layouts/clinic_make_apt.xml +++ b/netforce_clinic/layouts/clinic_make_apt.xml @@ -1,4 +1,4 @@ -
+ diff --git a/netforce_clinic/models/report_visit.py b/netforce_clinic/models/report_visit.py index 1b78eed..556d48e 100644 --- a/netforce_clinic/models/report_visit.py +++ b/netforce_clinic/models/report_visit.py @@ -83,7 +83,8 @@ class ReportVisit(Model): 'tid': record.patient_id.type_id.id or '', 'did': record.doctor_id.id, 'dname': record.doctor_id.name or "", - 'date': record.visit_date or '', + #'date': record.visit_date or '', + 'date': utils.date2thai(record.visit_date or '',format='%(Td)s %(d)s/%(m)s/%(BY)s'), 'note': record.note or '', }) no+=1