From 7054fcc18358ad58a63f22fec166dc972e23cc01 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Sun, 30 Nov 2014 20:05:14 +0700 Subject: [PATCH] cycle time start & stop --- netforce_clinic/layouts/clinic_cycle_form.xml | 5 +- netforce_clinic/layouts/clinic_cycle_list.xml | 2 + .../layouts/clinic_gen_visit_form.xml | 61 ++++++------ .../layouts/clinic_patient_form.xml | 15 ++- netforce_clinic/layouts/import_clinic_sc.xml | 9 +- netforce_clinic/models/cycle.py | 33 ++++++- netforce_clinic/models/gen_visit.py | 94 +++++++++++-------- netforce_clinic/models/hd_case.py | 24 ++--- netforce_clinic/models/import_payment.py | 52 ++++++++-- netforce_clinic/models/patient.py | 31 +++++- netforce_clinic/models/setting.py | 50 ++++++++++ netforce_clinic/todo.txt | 6 ++ 12 files changed, 275 insertions(+), 107 deletions(-) diff --git a/netforce_clinic/layouts/clinic_cycle_form.xml b/netforce_clinic/layouts/clinic_cycle_form.xml index d02895c..c504e9b 100644 --- a/netforce_clinic/layouts/clinic_cycle_form.xml +++ b/netforce_clinic/layouts/clinic_cycle_form.xml @@ -4,9 +4,12 @@ - + + + + diff --git a/netforce_clinic/layouts/clinic_cycle_list.xml b/netforce_clinic/layouts/clinic_cycle_list.xml index 740e6b1..2432bf7 100644 --- a/netforce_clinic/layouts/clinic_cycle_list.xml +++ b/netforce_clinic/layouts/clinic_cycle_list.xml @@ -1,5 +1,7 @@ + + diff --git a/netforce_clinic/layouts/clinic_gen_visit_form.xml b/netforce_clinic/layouts/clinic_gen_visit_form.xml index b1e0e99..7a65597 100644 --- a/netforce_clinic/layouts/clinic_gen_visit_form.xml +++ b/netforce_clinic/layouts/clinic_gen_visit_form.xml @@ -1,46 +1,41 @@
- - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + - - - + + +