From 2dd2b4cfcce520a00f46ac2b51bf1854b0183681 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Thu, 23 Oct 2014 11:43:39 +0700 Subject: [PATCH] payment --- netforce_clinic/actions/clinic_hd_case.xml | 2 +- .../layouts/clinic_hd_case_form.xml | 33 ++++++-- .../layouts/clinic_payment_form.xml | 14 ++-- .../layouts/clinic_report_hd_dialy.xml | 10 --- netforce_clinic/models/hd_case.py | 47 ++++++------ netforce_clinic/models/hd_case_discont.py | 2 +- netforce_clinic/models/hd_case_payment.py | 76 ++++++++++++++----- 7 files changed, 116 insertions(+), 68 deletions(-) delete mode 100644 netforce_clinic/layouts/clinic_report_hd_dialy.xml diff --git a/netforce_clinic/actions/clinic_hd_case.xml b/netforce_clinic/actions/clinic_hd_case.xml index e6f021c..43c34eb 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"]]],["In Progress",[["state","=","in_progress"]]],["Completed",[["state","=","completed"]]],["In Completed",[["state","=","in_completed"]]]] + [["All",[]],["Draft",[["state","=","draft"]]],["In Progress",[["state","=","in_progress"]]],["Waiting Payment",[["state","=","waiting_payment"]]],["Completed",[["state","=","completed"]]],["In Completed",[["state","=","in_completed"]]]] 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 758fa25..03239c5 100644 --- a/netforce_clinic/layouts/clinic_hd_case_form.xml +++ b/netforce_clinic/layouts/clinic_hd_case_form.xml @@ -58,11 +58,11 @@ - - - - -