From 1ca2e625547c213acc66c834d72d082e6006cff1 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Sun, 26 Oct 2014 15:48:51 +0700 Subject: [PATCH] nurse payment --- netforce_clinic/actions/clinic_cycle_item.xml | 7 ++ .../actions/clinic_nurse_categ.xml | 7 ++ netforce_clinic/layouts/clinic_cycle_form.xml | 4 +- .../layouts/clinic_cycle_item_form.xml | 34 +++++++ .../layouts/clinic_cycle_item_list.xml | 6 ++ netforce_clinic/layouts/clinic_menu.xml | 10 +- .../layouts/clinic_nurse_categ_form.xml | 6 ++ .../layouts/clinic_nurse_categ_list.xml | 6 ++ netforce_clinic/layouts/clinic_setting.xml | 2 + netforce_clinic/models/:w | 53 ++++++++++ netforce_clinic/models/__init__.py | 3 + netforce_clinic/models/cycle.py | 3 +- netforce_clinic/models/cycle_item.py | 96 +++++++++++++++++++ netforce_clinic/models/cycle_item_line.py | 31 ++++++ netforce_clinic/models/gen_visit.py | 1 + netforce_clinic/models/hd_case.py | 21 ++++ netforce_clinic/models/hd_case_payment.py | 2 + netforce_clinic/models/nurse.py | 2 +- netforce_clinic/models/nurse_categ.py | 22 +++++ netforce_clinic/models/setting.py | 17 +--- 20 files changed, 309 insertions(+), 24 deletions(-) create mode 100644 netforce_clinic/actions/clinic_cycle_item.xml create mode 100644 netforce_clinic/actions/clinic_nurse_categ.xml create mode 100644 netforce_clinic/layouts/clinic_cycle_item_form.xml create mode 100644 netforce_clinic/layouts/clinic_cycle_item_list.xml create mode 100644 netforce_clinic/layouts/clinic_nurse_categ_form.xml create mode 100644 netforce_clinic/layouts/clinic_nurse_categ_list.xml create mode 100644 netforce_clinic/models/:w create mode 100644 netforce_clinic/models/cycle_item.py create mode 100644 netforce_clinic/models/cycle_item_line.py create mode 100644 netforce_clinic/models/nurse_categ.py diff --git a/netforce_clinic/actions/clinic_cycle_item.xml b/netforce_clinic/actions/clinic_cycle_item.xml new file mode 100644 index 0000000..09c4581 --- /dev/null +++ b/netforce_clinic/actions/clinic_cycle_item.xml @@ -0,0 +1,7 @@ + + Cycle Items + multi_view + clinic.cycle.item + list,form + clinic_menu + diff --git a/netforce_clinic/actions/clinic_nurse_categ.xml b/netforce_clinic/actions/clinic_nurse_categ.xml new file mode 100644 index 0000000..4528b4c --- /dev/null +++ b/netforce_clinic/actions/clinic_nurse_categ.xml @@ -0,0 +1,7 @@ + + Nurse Categories + multi_view + clinic.nurse.categ + list,page,form + clinic_menu + diff --git a/netforce_clinic/layouts/clinic_cycle_form.xml b/netforce_clinic/layouts/clinic_cycle_form.xml index f5ef225..bf3fb2e 100644 --- a/netforce_clinic/layouts/clinic_cycle_form.xml +++ b/netforce_clinic/layouts/clinic_cycle_form.xml @@ -6,10 +6,8 @@ - - - + diff --git a/netforce_clinic/layouts/clinic_cycle_item_form.xml b/netforce_clinic/layouts/clinic_cycle_item_form.xml new file mode 100644 index 0000000..01aa6ed --- /dev/null +++ b/netforce_clinic/layouts/clinic_cycle_item_form.xml @@ -0,0 +1,34 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +