conv_bal
watcha.h@almacom.co.th 2015-01-15 23:36:49 +07:00
parent 43b385797f
commit 51ba4bc86f
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ class ReportVisit(Model):
doctor_id=obj.doctor_id.id
# new patient of this month
dom=[]
dom.append(['state','=','pending'])
dom.append(['visit_date','>=',time_start])
dom.append(['visit_date','<=',time_stop])
if patient_id: