From 53670f8f8dc8230b2d16576245f6a7756df1b69b Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Sun, 5 Oct 2014 01:33:18 +0700 Subject: [PATCH] treatment --- netforce_clinic/actions/clinic_hd_case.xml | 4 +- .../layouts/clinic_hd_case_form.xml | 17 ++- .../layouts/clinic_import_payment_form.xml | 3 + netforce_clinic/layouts/clinic_visit_form.xml | 18 ++- netforce_clinic/models/__init__.py | 3 +- netforce_clinic/models/dialyzer.py | 4 +- netforce_clinic/models/dialyzer_line.py | 20 ++++ netforce_clinic/models/hd_case.py | 112 +++--------------- netforce_clinic/models/visit.py | 57 +++++---- netforce_clinic/todo.txt | 30 +++-- 10 files changed, 127 insertions(+), 141 deletions(-) create mode 100644 netforce_clinic/models/dialyzer_line.py diff --git a/netforce_clinic/actions/clinic_hd_case.xml b/netforce_clinic/actions/clinic_hd_case.xml index 2d908e7..7c2fab9 100644 --- a/netforce_clinic/actions/clinic_hd_case.xml +++ b/netforce_clinic/actions/clinic_hd_case.xml @@ -2,7 +2,7 @@ Treatments multi_view clinic.hd.case - [["All",[]],["Draft",[["state","=","draft"]]],["Confirmed",[["state","=","confirmed"]]],["Approved",[["state","=","approved"]]],["Paid",[["state","=","paid"]]],["Cancelled",[["state","=","cancelled"]]]] - list,form + [["All",[]],["Draft",[["state","=","draft"]]],["In Progress",[["state","=","in_progress"]]],["Completed",[["state","=","completed"]]],["Incomplete",[["state","=","fail"]]],["Cancelled",[["state","=","cancelled"]]]] + list,form clinic_menu diff --git a/netforce_clinic/layouts/clinic_hd_case_form.xml b/netforce_clinic/layouts/clinic_hd_case_form.xml index bd95f6c..73c8ba2 100644 --- a/netforce_clinic/layouts/clinic_hd_case_form.xml +++ b/netforce_clinic/layouts/clinic_hd_case_form.xml @@ -22,17 +22,19 @@ - + + + - + @@ -41,6 +43,10 @@ + + + + @@ -65,10 +71,9 @@ -