improve report
parent
e86640ea42
commit
e5467144d1
|
@ -99,7 +99,10 @@ class ReportCycleSetting(Model):
|
|||
continue
|
||||
key=(patient.id,dpt.id)
|
||||
if not pts.get(key):
|
||||
login=patient.w_uid.login
|
||||
pts[key]={
|
||||
'w_time': patient.w_time,
|
||||
'w_uid': login,
|
||||
'patient_name': patient.name,
|
||||
'department_name': dpt.name,
|
||||
'mon_cycle_id': None,
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
<thead class="scroll-header">
|
||||
<th>#</th>
|
||||
<th>Patient</th>
|
||||
<th>Last Update</th>
|
||||
<th>Update By</th>
|
||||
{{#unless department_id}}
|
||||
<th>Department</th>
|
||||
{{/unless}}
|
||||
|
@ -23,6 +25,8 @@
|
|||
<td>
|
||||
{{view "link" string=patient_name action="clinic_patient" action_options="mode=form" active_id=patient_id}}
|
||||
</td>
|
||||
<td>{{w_time}}</td>
|
||||
<td>{{w_uid}}</td>
|
||||
{{#unless ../department_id}}
|
||||
<td>{{department_name}}</td>
|
||||
{{/unless}}
|
||||
|
|
Loading…
Reference in New Issue