From 280e663e0b17f26f5349fb2ebb2c86657582132d Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Wed, 4 Feb 2015 21:10:41 +0700 Subject: [PATCH] customize payment --- .../layouts/clinic_account_payment_form.xml | 5 + .../layouts/clinic_matching_payment.xml | 13 +- netforce_clinic/models/account_payment.py | 91 ++++++++++++ netforce_clinic/models/hd_case.py | 50 +++++-- netforce_clinic/models/matching_payment.py | 129 +++++++++++++++++- .../models/report_payment_matching.py | 6 +- 6 files changed, 273 insertions(+), 21 deletions(-) create mode 100644 netforce_clinic/layouts/clinic_account_payment_form.xml diff --git a/netforce_clinic/layouts/clinic_account_payment_form.xml b/netforce_clinic/layouts/clinic_account_payment_form.xml new file mode 100644 index 0000000..ca8daca --- /dev/null +++ b/netforce_clinic/layouts/clinic_account_payment_form.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/netforce_clinic/layouts/clinic_matching_payment.xml b/netforce_clinic/layouts/clinic_matching_payment.xml index e075596..b213945 100644 --- a/netforce_clinic/layouts/clinic_matching_payment.xml +++ b/netforce_clinic/layouts/clinic_matching_payment.xml @@ -1,10 +1,13 @@
- - - - - + + + + + + + +