From 550a1a58a4daa3bff0e3be160c5d2f8d242348e7 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Thu, 26 Feb 2015 07:56:41 +0700 Subject: [PATCH] matching payment --- .../actions/clinic_compute_labor_cost.xml | 8 +++ netforce_clinic/actions/clinic_make_apt.xml | 2 +- .../layouts/clinic_account_menu.xml | 1 + .../layouts/clinic_compute_labor_cost.xml | 8 +++ .../layouts/clinic_matching_payment_form.xml | 11 +++- netforce_clinic/models/__init__.py | 1 + netforce_clinic/models/compute_labor_cost.py | 60 +++++++++++++++++++ netforce_clinic/models/matching_payment.py | 15 +++++ netforce_clinic/todo.txt | 3 +- 9 files changed, 106 insertions(+), 3 deletions(-) create mode 100644 netforce_clinic/actions/clinic_compute_labor_cost.xml create mode 100644 netforce_clinic/layouts/clinic_compute_labor_cost.xml create mode 100644 netforce_clinic/models/compute_labor_cost.py diff --git a/netforce_clinic/actions/clinic_compute_labor_cost.xml b/netforce_clinic/actions/clinic_compute_labor_cost.xml new file mode 100644 index 0000000..f3221ae --- /dev/null +++ b/netforce_clinic/actions/clinic_compute_labor_cost.xml @@ -0,0 +1,8 @@ + + clinic_compute_labor_cost + form_view + clinic.compute.labor.cost + clinic_compute_labor_cost + account_menu + + diff --git a/netforce_clinic/actions/clinic_make_apt.xml b/netforce_clinic/actions/clinic_make_apt.xml index 8c04b76..69d4f91 100644 --- a/netforce_clinic/actions/clinic_make_apt.xml +++ b/netforce_clinic/actions/clinic_make_apt.xml @@ -1,6 +1,6 @@ clinic_make_apt - form_view + form_view clinic.make.apt clinic_make_apt clinic_menu diff --git a/netforce_clinic/layouts/clinic_account_menu.xml b/netforce_clinic/layouts/clinic_account_menu.xml index c011929..2dc7e89 100644 --- a/netforce_clinic/layouts/clinic_account_menu.xml +++ b/netforce_clinic/layouts/clinic_account_menu.xml @@ -14,6 +14,7 @@
+ diff --git a/netforce_clinic/layouts/clinic_compute_labor_cost.xml b/netforce_clinic/layouts/clinic_compute_labor_cost.xml new file mode 100644 index 0000000..65d3e10 --- /dev/null +++ b/netforce_clinic/layouts/clinic_compute_labor_cost.xml @@ -0,0 +1,8 @@ +
+ + + + +