From dd87e8eea1fdc322cb52877d7ebdefe39fe5ad87 Mon Sep 17 00:00:00 2001 From: "watcha.h@almacom.co.th" Date: Fri, 11 Sep 2015 07:12:37 +0700 Subject: [PATCH] [report hd case summary] get and del patient in the same month --- netforce_clinic/models/report_hd_case_detail.py | 2 +- netforce_clinic/models/report_recent_patient.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/netforce_clinic/models/report_hd_case_detail.py b/netforce_clinic/models/report_hd_case_detail.py index 692b514..64de81c 100644 --- a/netforce_clinic/models/report_hd_case_detail.py +++ b/netforce_clinic/models/report_hd_case_detail.py @@ -201,7 +201,7 @@ class ReportHDCaseDetail(Model): dom.append(['reg_date','>=',time_start]) dom.append(['reg_date','<=',time_stop]) dom.append(['walkin','=',"no"]) - dom.append(['dispose','=',False]) + #dom.append(['dispose','=',False]) if branch_id: dom.append(['branch_id','=',branch_id]) if department_id: diff --git a/netforce_clinic/models/report_recent_patient.py b/netforce_clinic/models/report_recent_patient.py index 23917a6..c423d33 100644 --- a/netforce_clinic/models/report_recent_patient.py +++ b/netforce_clinic/models/report_recent_patient.py @@ -72,7 +72,7 @@ class ReportRecentPatient(Model): dom.append(['reg_date','>=',time_start]) dom.append(['reg_date','<=',time_stop]) dom.append(['walkin','=',"no"]) - dom.append(['dispose','=',False]) + #dom.append(['dispose','=',False]) if branch_id: dom.append(['branch_id','=',branch_id]) if department_id: