From e1240368c0b451851115891dd7ace7423682a225 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Tue, 7 Oct 2014 20:22:18 +0700 Subject: [PATCH] xxx --- netforce_clinic/actions/clinic_schedule.xml | 6 ++++ netforce_clinic/layouts/clinic_menu.xml | 1 + .../layouts/clinic_patient_form.xml | 11 ++++--- .../layouts/clinic_schedule_form.xml | 4 +++ .../layouts/clinic_schedule_list.xml | 4 +++ netforce_clinic/layouts/clinic_setting.xml | 31 +++++++++++------- netforce_clinic/models/__init__.py | 2 ++ netforce_clinic/models/import_payment.py | 32 ++++++++++++++----- netforce_clinic/models/patient.py | 1 + netforce_clinic/models/patient_schedule.py | 15 +++++++++ netforce_clinic/models/schedule.py | 13 ++++++++ netforce_clinic/todo.txt | 8 +++-- 12 files changed, 102 insertions(+), 26 deletions(-) create mode 100644 netforce_clinic/actions/clinic_schedule.xml create mode 100644 netforce_clinic/layouts/clinic_schedule_form.xml create mode 100644 netforce_clinic/layouts/clinic_schedule_list.xml create mode 100644 netforce_clinic/models/patient_schedule.py create mode 100644 netforce_clinic/models/schedule.py diff --git a/netforce_clinic/actions/clinic_schedule.xml b/netforce_clinic/actions/clinic_schedule.xml new file mode 100644 index 0000000..cea37f8 --- /dev/null +++ b/netforce_clinic/actions/clinic_schedule.xml @@ -0,0 +1,6 @@ + + Schedule + multi_view + clinic.schedule + clinic_menu + diff --git a/netforce_clinic/layouts/clinic_menu.xml b/netforce_clinic/layouts/clinic_menu.xml index d85373a..58de40f 100644 --- a/netforce_clinic/layouts/clinic_menu.xml +++ b/netforce_clinic/layouts/clinic_menu.xml @@ -7,6 +7,7 @@ +
diff --git a/netforce_clinic/layouts/clinic_patient_form.xml b/netforce_clinic/layouts/clinic_patient_form.xml index f043fe4..af25ed4 100644 --- a/netforce_clinic/layouts/clinic_patient_form.xml +++ b/netforce_clinic/layouts/clinic_patient_form.xml @@ -11,14 +11,12 @@ - - - - + + @@ -29,6 +27,8 @@ + + @@ -82,6 +82,9 @@ + + + diff --git a/netforce_clinic/layouts/clinic_schedule_form.xml b/netforce_clinic/layouts/clinic_schedule_form.xml new file mode 100644 index 0000000..42c87c2 --- /dev/null +++ b/netforce_clinic/layouts/clinic_schedule_form.xml @@ -0,0 +1,4 @@ +
+ + + diff --git a/netforce_clinic/layouts/clinic_schedule_list.xml b/netforce_clinic/layouts/clinic_schedule_list.xml new file mode 100644 index 0000000..101cf88 --- /dev/null +++ b/netforce_clinic/layouts/clinic_schedule_list.xml @@ -0,0 +1,4 @@ + + + + diff --git a/netforce_clinic/layouts/clinic_setting.xml b/netforce_clinic/layouts/clinic_setting.xml index 9c9ba1f..3e67092 100644 --- a/netforce_clinic/layouts/clinic_setting.xml +++ b/netforce_clinic/layouts/clinic_setting.xml @@ -1,14 +1,21 @@
- - - - - - - - - - - - + + +