From 4687c318eea5e11bca94fba78259aa70a32368c5 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Thu, 27 Nov 2014 22:14:31 +0700 Subject: [PATCH] invoice policy --- netforce_clinic/actions/clinic_period.xml | 6 +++ .../layouts/clinic_cycle_item_form.xml | 2 +- .../layouts/clinic_cycle_monthly_form.xml | 6 +-- .../layouts/clinic_hd_case_form.xml | 27 +++++----- netforce_clinic/layouts/clinic_menu.xml | 2 +- .../layouts/clinic_period_form.xml | 22 ++++++++ .../layouts/clinic_period_list.xml | 3 ++ netforce_clinic/layouts/clinic_setting.xml | 43 +++++++++++----- netforce_clinic/layouts/clinic_staff_form.xml | 1 + netforce_clinic/models/__init__.py | 3 ++ netforce_clinic/models/cycle_daily.py | 32 +++++++++--- netforce_clinic/models/cycle_item.py | 19 +++++-- netforce_clinic/models/cycle_monthly_line.py | 8 +++ netforce_clinic/models/hd_case.py | 11 +++- netforce_clinic/models/hd_case_line.py | 2 +- netforce_clinic/models/patient.py | 2 +- netforce_clinic/models/period.py | 50 +++++++++++++++++++ netforce_clinic/models/period_line.py | 20 ++++++++ .../models/report_nurse_fee_sum.py | 4 +- netforce_clinic/models/setting.py | 44 ++++++---------- netforce_clinic/models/setting_policy.py | 13 +++++ netforce_clinic/models/setting_product.py | 3 +- netforce_clinic/models/staff.py | 1 + netforce_clinic/models/visit.py | 9 +++- netforce_clinic/todo.txt | 17 +++++++ 25 files changed, 273 insertions(+), 77 deletions(-) create mode 100644 netforce_clinic/actions/clinic_period.xml create mode 100644 netforce_clinic/layouts/clinic_period_form.xml create mode 100644 netforce_clinic/layouts/clinic_period_list.xml create mode 100644 netforce_clinic/models/period.py create mode 100644 netforce_clinic/models/period_line.py create mode 100644 netforce_clinic/models/setting_policy.py diff --git a/netforce_clinic/actions/clinic_period.xml b/netforce_clinic/actions/clinic_period.xml new file mode 100644 index 0000000..67bf988 --- /dev/null +++ b/netforce_clinic/actions/clinic_period.xml @@ -0,0 +1,6 @@ + + Period + multi_view + clinic.period + clinic_menu + diff --git a/netforce_clinic/layouts/clinic_cycle_item_form.xml b/netforce_clinic/layouts/clinic_cycle_item_form.xml index 744a787..11b39d2 100644 --- a/netforce_clinic/layouts/clinic_cycle_item_form.xml +++ b/netforce_clinic/layouts/clinic_cycle_item_form.xml @@ -6,6 +6,7 @@ + @@ -55,7 +56,6 @@ + + + + + + + + + + + + + + +