From 3b5a68260de4bfc5c539a51002c96222e877f5c1 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Thu, 23 Oct 2014 15:21:29 +0700 Subject: [PATCH] reciept --- .../actions/report_clinic_payment_form.xml | 6 +++ .../layouts/clinic_hd_case_form.xml | 17 +++++++- netforce_clinic/models/__init__.py | 1 + netforce_clinic/models/account_payment.py | 24 +++++++++++ netforce_clinic/models/hd_case.py | 38 +++++++++++++++++- netforce_clinic/reports/payment_form.odt | Bin 0 -> 25004 bytes 6 files changed, 84 insertions(+), 2 deletions(-) create mode 100644 netforce_clinic/actions/report_clinic_payment_form.xml create mode 100644 netforce_clinic/models/account_payment.py create mode 100644 netforce_clinic/reports/payment_form.odt diff --git a/netforce_clinic/actions/report_clinic_payment_form.xml b/netforce_clinic/actions/report_clinic_payment_form.xml new file mode 100644 index 0000000..7110519 --- /dev/null +++ b/netforce_clinic/actions/report_clinic_payment_form.xml @@ -0,0 +1,6 @@ + + report_odt + clinic.hd.case + get_report_payment_data + payment_form + diff --git a/netforce_clinic/layouts/clinic_hd_case_form.xml b/netforce_clinic/layouts/clinic_hd_case_form.xml index 3408b5d..e38c8a4 100644 --- a/netforce_clinic/layouts/clinic_hd_case_form.xml +++ b/netforce_clinic/layouts/clinic_hd_case_form.xml @@ -119,7 +119,22 @@ - + + + +