[report hd case summary] get and del patient in the same month

production
watcha.h@almacom.co.th 2015-09-11 07:12:37 +07:00
parent 798cdd7149
commit dd87e8eea1
2 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ class ReportHDCaseDetail(Model):
dom.append(['reg_date','>=',time_start]) dom.append(['reg_date','>=',time_start])
dom.append(['reg_date','<=',time_stop]) dom.append(['reg_date','<=',time_stop])
dom.append(['walkin','=',"no"]) dom.append(['walkin','=',"no"])
dom.append(['dispose','=',False]) #dom.append(['dispose','=',False])
if branch_id: if branch_id:
dom.append(['branch_id','=',branch_id]) dom.append(['branch_id','=',branch_id])
if department_id: if department_id:

View File

@ -72,7 +72,7 @@ class ReportRecentPatient(Model):
dom.append(['reg_date','>=',time_start]) dom.append(['reg_date','>=',time_start])
dom.append(['reg_date','<=',time_stop]) dom.append(['reg_date','<=',time_stop])
dom.append(['walkin','=',"no"]) dom.append(['walkin','=',"no"])
dom.append(['dispose','=',False]) #dom.append(['dispose','=',False])
if branch_id: if branch_id:
dom.append(['branch_id','=',branch_id]) dom.append(['branch_id','=',branch_id])
if department_id: if department_id: