conv_bal
watcha.h@almacom.co.th 2015-04-03 11:58:18 +07:00
parent 19139bbcc8
commit 1fb1de70cb
1 changed files with 2 additions and 1 deletions

View File

@ -101,7 +101,8 @@ class ReportCycleItem(Model):
for hdcase in citem.hd_cases:
patient=hdcase.patient_id
vascular=patient.vascular_acc
vasculars[vascular.code]['qty']+=1
if vascular:
vasculars[vascular.code]['qty']+=1
ptype=patient.type_id
if ptype_id and ptype_id!=ptype.id:
continue