From a4bf713e3ea2c743543b78fc0fc023a660b99e42 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Wed, 3 Dec 2014 07:05:18 +0700 Subject: [PATCH] matching payment --- netforce_clinic/actions/clinic_hospital.xml | 6 + .../actions/import_clinic_payment.xml | 6 + .../layouts/clinic_hospital_form.xml | 4 + .../layouts/clinic_hospital_list.xml | 4 + netforce_clinic/layouts/clinic_menu.xml | 2 + .../layouts/import_clinic_hd_case.xml | 17 +- .../layouts/import_clinic_payment_form.xml | 32 +++ .../layouts/import_clinic_payment_list.xml | 5 + netforce_clinic/models/__init__.py | 1 + netforce_clinic/models/hospital.py | 32 +++ netforce_clinic/models/import_hd_case.py | 63 +++--- netforce_clinic/models/import_payment.py | 187 ++++++------------ netforce_clinic/models/old/import_payment.py | 161 +++++++++++++++ 13 files changed, 363 insertions(+), 157 deletions(-) create mode 100644 netforce_clinic/actions/clinic_hospital.xml create mode 100644 netforce_clinic/actions/import_clinic_payment.xml create mode 100644 netforce_clinic/layouts/clinic_hospital_form.xml create mode 100644 netforce_clinic/layouts/clinic_hospital_list.xml create mode 100644 netforce_clinic/layouts/import_clinic_payment_form.xml create mode 100644 netforce_clinic/layouts/import_clinic_payment_list.xml create mode 100644 netforce_clinic/models/hospital.py create mode 100644 netforce_clinic/models/old/import_payment.py diff --git a/netforce_clinic/actions/clinic_hospital.xml b/netforce_clinic/actions/clinic_hospital.xml new file mode 100644 index 0000000..594f747 --- /dev/null +++ b/netforce_clinic/actions/clinic_hospital.xml @@ -0,0 +1,6 @@ + + Hospital + multi_view + clinic.hospital + clinic_menu + diff --git a/netforce_clinic/actions/import_clinic_payment.xml b/netforce_clinic/actions/import_clinic_payment.xml new file mode 100644 index 0000000..11ee46d --- /dev/null +++ b/netforce_clinic/actions/import_clinic_payment.xml @@ -0,0 +1,6 @@ + + Import Payment + multi_view + import.clinic.payment + clinic_menu + diff --git a/netforce_clinic/layouts/clinic_hospital_form.xml b/netforce_clinic/layouts/clinic_hospital_form.xml new file mode 100644 index 0000000..658ea78 --- /dev/null +++ b/netforce_clinic/layouts/clinic_hospital_form.xml @@ -0,0 +1,4 @@ +
+ + + diff --git a/netforce_clinic/layouts/clinic_hospital_list.xml b/netforce_clinic/layouts/clinic_hospital_list.xml new file mode 100644 index 0000000..db09778 --- /dev/null +++ b/netforce_clinic/layouts/clinic_hospital_list.xml @@ -0,0 +1,4 @@ + + + + diff --git a/netforce_clinic/layouts/clinic_menu.xml b/netforce_clinic/layouts/clinic_menu.xml index 158ac7e..c5f2919 100644 --- a/netforce_clinic/layouts/clinic_menu.xml +++ b/netforce_clinic/layouts/clinic_menu.xml @@ -55,6 +55,7 @@ + @@ -65,5 +66,6 @@ + diff --git a/netforce_clinic/layouts/import_clinic_hd_case.xml b/netforce_clinic/layouts/import_clinic_hd_case.xml index e36c6fc..a064e39 100644 --- a/netforce_clinic/layouts/import_clinic_hd_case.xml +++ b/netforce_clinic/layouts/import_clinic_hd_case.xml @@ -1,11 +1,20 @@
- - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +