From 4dc53d6ae328b249445bf12c79518b233d258443 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Fri, 13 Mar 2015 07:44:12 +0700 Subject: [PATCH] add report invoice matching --- .../clinic_matching_payment_match_invoice.xml | 6 ++ ...linic_matching_payment_unmatch_invoice.xml | 4 +- .../layouts/clinic_matching_payment_form.xml | 1 + netforce_clinic/models/department.py | 1 + netforce_clinic/models/matching_payment.py | 52 +++++++++++++++++- .../models/report_account_hd_case_summary.py | 4 ++ .../reports/matching_payment_invoice.xlsx | Bin 0 -> 4978 bytes .../matching_payment_invoice_unmatch.xlsx | Bin 4921 -> 0 bytes .../report_account_hd_case_summary.hbs | 2 + netforce_clinic/todo.txt | 9 +-- 10 files changed, 71 insertions(+), 8 deletions(-) create mode 100644 netforce_clinic/actions/clinic_matching_payment_match_invoice.xml create mode 100644 netforce_clinic/reports/matching_payment_invoice.xlsx delete mode 100644 netforce_clinic/reports/matching_payment_invoice_unmatch.xlsx diff --git a/netforce_clinic/actions/clinic_matching_payment_match_invoice.xml b/netforce_clinic/actions/clinic_matching_payment_match_invoice.xml new file mode 100644 index 0000000..a78664e --- /dev/null +++ b/netforce_clinic/actions/clinic_matching_payment_match_invoice.xml @@ -0,0 +1,6 @@ + + report_xls + clinic.matching.payment + get_data_match + matching_payment_invoice + diff --git a/netforce_clinic/actions/clinic_matching_payment_unmatch_invoice.xml b/netforce_clinic/actions/clinic_matching_payment_unmatch_invoice.xml index d0fbbde..60cf9e5 100644 --- a/netforce_clinic/actions/clinic_matching_payment_unmatch_invoice.xml +++ b/netforce_clinic/actions/clinic_matching_payment_unmatch_invoice.xml @@ -1,6 +1,6 @@ report_xls clinic.matching.payment - get_data - matching_payment_invoice_unmatch + get_data_unmatch + matching_payment_invoice diff --git a/netforce_clinic/layouts/clinic_matching_payment_form.xml b/netforce_clinic/layouts/clinic_matching_payment_form.xml index 4bd43df..fa47254 100644 --- a/netforce_clinic/layouts/clinic_matching_payment_form.xml +++ b/netforce_clinic/layouts/clinic_matching_payment_form.xml @@ -2,6 +2,7 @@