From 1fa886de89d127fbcca7655c1f5f277c3976cba1 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Mon, 20 Oct 2014 18:49:54 +0700 Subject: [PATCH] multi payment --- netforce_clinic/actions/clinic_payment.xml | 6 -- .../layouts/clinic_hd_case_form.xml | 25 ++++- .../layouts/clinic_payment_form.xml | 19 ---- netforce_clinic/models/__init__.py | 1 - netforce_clinic/models/hd_case.py | 95 ++++++++++++++++--- netforce_clinic/models/payment.py | 62 ++---------- netforce_clinic/models/payment_line.py | 17 ---- 7 files changed, 110 insertions(+), 115 deletions(-) delete mode 100644 netforce_clinic/actions/clinic_payment.xml delete mode 100644 netforce_clinic/layouts/clinic_payment_form.xml delete mode 100644 netforce_clinic/models/payment_line.py diff --git a/netforce_clinic/actions/clinic_payment.xml b/netforce_clinic/actions/clinic_payment.xml deleted file mode 100644 index 2207289..0000000 --- a/netforce_clinic/actions/clinic_payment.xml +++ /dev/null @@ -1,6 +0,0 @@ - - Payment - form_popup - clinic.payment - _popup - diff --git a/netforce_clinic/layouts/clinic_hd_case_form.xml b/netforce_clinic/layouts/clinic_hd_case_form.xml index 0bc1f6f..0190878 100644 --- a/netforce_clinic/layouts/clinic_hd_case_form.xml +++ b/netforce_clinic/layouts/clinic_hd_case_form.xml @@ -10,7 +10,7 @@ - + @@ -28,7 +28,6 @@ - @@ -77,12 +76,30 @@ - + + + + + +