visit report
parent
51ba4bc86f
commit
3471f0b207
|
@ -1,4 +1,4 @@
|
||||||
<form model="clinic.make.apt">
|
<form model="clinic.make.apt" title="Make An Appoitment">
|
||||||
<separator string="1. Select Period > 2. Click Load Data > 3. Select Patient > 4. Generate Visit"/>
|
<separator string="1. Select Period > 2. Click Load Data > 3. Select Patient > 4. Generate Visit"/>
|
||||||
<field name="date" span="3" mode="month" onchange="onchange_date"/>
|
<field name="date" span="3" mode="month" onchange="onchange_date"/>
|
||||||
<field name="date_from" span="3"/>
|
<field name="date_from" span="3"/>
|
||||||
|
|
|
@ -83,7 +83,8 @@ class ReportVisit(Model):
|
||||||
'tid': record.patient_id.type_id.id or '',
|
'tid': record.patient_id.type_id.id or '',
|
||||||
'did': record.doctor_id.id,
|
'did': record.doctor_id.id,
|
||||||
'dname': record.doctor_id.name or "",
|
'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 '',
|
'note': record.note or '',
|
||||||
})
|
})
|
||||||
no+=1
|
no+=1
|
||||||
|
|
Loading…
Reference in New Issue