From e6dbec5eef448f940c480272446b7e276688e232 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Wed, 22 Oct 2014 15:55:57 +0700 Subject: [PATCH] clean --- netforce_clinic/actions/clinic_payment.xml | 6 + .../actions/clinic_view_payment.xml | 5 + .../layouts/clinic_hd_case_form.xml | 45 ++---- .../layouts/clinic_hd_case_form.xml.old | 132 ++++++++++++++++ .../layouts/clinic_patient_form.xml | 1 + .../layouts/clinic_payment_form.xml | 10 ++ .../layouts/fin_clinic_settings.xml | 9 +- netforce_clinic/models/__init__.py | 3 +- netforce_clinic/models/fin_setting.py | 9 +- netforce_clinic/models/hd_case.py | 142 +++++++++--------- netforce_clinic/models/hd_case_line.py | 5 + netforce_clinic/models/hd_case_payment.py | 53 +++++++ netforce_clinic/models/import_payment.py | 2 +- netforce_clinic/models/visit.py | 11 +- 14 files changed, 313 insertions(+), 120 deletions(-) create mode 100644 netforce_clinic/actions/clinic_payment.xml create mode 100644 netforce_clinic/actions/clinic_view_payment.xml create mode 100644 netforce_clinic/layouts/clinic_hd_case_form.xml.old create mode 100644 netforce_clinic/layouts/clinic_payment_form.xml create mode 100644 netforce_clinic/models/hd_case_payment.py diff --git a/netforce_clinic/actions/clinic_payment.xml b/netforce_clinic/actions/clinic_payment.xml new file mode 100644 index 0000000..906209e --- /dev/null +++ b/netforce_clinic/actions/clinic_payment.xml @@ -0,0 +1,6 @@ + + Payment + form_popup + clinic.hd.case.payment + _popup + diff --git a/netforce_clinic/actions/clinic_view_payment.xml b/netforce_clinic/actions/clinic_view_payment.xml new file mode 100644 index 0000000..e55255c --- /dev/null +++ b/netforce_clinic/actions/clinic_view_payment.xml @@ -0,0 +1,5 @@ + + method + clinic.hd.case + view_payment + diff --git a/netforce_clinic/layouts/clinic_hd_case_form.xml b/netforce_clinic/layouts/clinic_hd_case_form.xml index 661b104..758fa25 100644 --- a/netforce_clinic/layouts/clinic_hd_case_form.xml +++ b/netforce_clinic/layouts/clinic_hd_case_form.xml @@ -2,6 +2,7 @@ @@ -44,32 +45,10 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -83,10 +62,11 @@ -