From f9042fb5f47d26a6705f700039ad90a9a414691d Mon Sep 17 00:00:00 2001 From: "watcha.h@almacom.co.th" Date: Mon, 19 Jan 2015 20:34:43 +0700 Subject: [PATCH] report staff (80%) --- .../actions/clinic_report_staff_fee.xml | 8 ++ .../clinic_report_staff_fee_detail.xml | 2 +- .../actions/clinic_report_staff_fee_sum.xml | 2 +- .../layouts/clinic_cycle_item_list.xml | 3 + .../layouts/clinic_labor_cost_form.xml | 2 +- .../layouts/clinic_menu_inherit.xml | 3 +- .../layouts/clinic_report_staff_fee.xml | 9 ++ .../clinic_report_staff_fee_detail.xml | 12 +- .../layouts/clinic_report_staff_fee_sum.xml | 12 +- netforce_clinic/models/__init__.py | 3 +- netforce_clinic/models/cycle_item.py | 19 +++- netforce_clinic/models/labor_cost.py | 2 +- netforce_clinic/models/report_staff_fee.py | 104 ++++++++++++++++++ .../models/report_staff_fee_detail.py | 12 +- .../models/report_staff_fee_sum.py | 14 +++ netforce_clinic/reports/report_staff_fee.xlsx | Bin 0 -> 4993 bytes .../templates/report_staff_fee.hbs | 59 ++++++++++ .../templates/report_staff_fee_sum.hbs | 2 +- netforce_clinic/todo.txt | 31 +----- 19 files changed, 250 insertions(+), 49 deletions(-) create mode 100644 netforce_clinic/actions/clinic_report_staff_fee.xml create mode 100644 netforce_clinic/layouts/clinic_report_staff_fee.xml create mode 100644 netforce_clinic/models/report_staff_fee.py create mode 100644 netforce_clinic/reports/report_staff_fee.xlsx create mode 100644 netforce_clinic/templates/report_staff_fee.hbs diff --git a/netforce_clinic/actions/clinic_report_staff_fee.xml b/netforce_clinic/actions/clinic_report_staff_fee.xml new file mode 100644 index 0000000..1bcf56a --- /dev/null +++ b/netforce_clinic/actions/clinic_report_staff_fee.xml @@ -0,0 +1,8 @@ + + Staff Fee + report + clinic.report.staff.fee + report_staff_fee + report_staff_fee + account_menu + diff --git a/netforce_clinic/actions/clinic_report_staff_fee_detail.xml b/netforce_clinic/actions/clinic_report_staff_fee_detail.xml index 98b2999..f17d12c 100644 --- a/netforce_clinic/actions/clinic_report_staff_fee_detail.xml +++ b/netforce_clinic/actions/clinic_report_staff_fee_detail.xml @@ -1,5 +1,5 @@ - Report Staff Fee Detail + Staff Fee Detail report clinic.report.staff.fee.detail report_staff_fee_detail diff --git a/netforce_clinic/actions/clinic_report_staff_fee_sum.xml b/netforce_clinic/actions/clinic_report_staff_fee_sum.xml index f113500..2493cbf 100644 --- a/netforce_clinic/actions/clinic_report_staff_fee_sum.xml +++ b/netforce_clinic/actions/clinic_report_staff_fee_sum.xml @@ -1,5 +1,5 @@ - Report Staff Fee Summary + Staff Fee Summary report clinic.report.staff.fee.sum report_staff_fee_sum diff --git a/netforce_clinic/layouts/clinic_cycle_item_list.xml b/netforce_clinic/layouts/clinic_cycle_item_list.xml index 116815d..4be1752 100644 --- a/netforce_clinic/layouts/clinic_cycle_item_list.xml +++ b/netforce_clinic/layouts/clinic_cycle_item_list.xml @@ -1,4 +1,7 @@ + +