From 5fb4bef0b9dd0e20244a2e35c9ad70426f5f4f01 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Sun, 5 Oct 2014 12:47:19 +0700 Subject: [PATCH] visit --- netforce_clinic/actions/clinic_hd_case.xml | 2 +- .../layouts/clinic_hd_case_form.xml | 15 +++--- .../layouts/clinic_hd_case_list.xml | 4 +- netforce_clinic/layouts/clinic_menu.xml | 3 ++ .../layouts/clinic_visit_calendar.xml | 3 +- netforce_clinic/layouts/clinic_visit_form.xml | 15 ++++-- netforce_clinic/models/hd_case.py | 26 +++++----- netforce_clinic/models/patient.py | 5 ++ netforce_clinic/models/visit.py | 48 ++++++++++++++----- netforce_clinic/todo.txt | 4 ++ 10 files changed, 83 insertions(+), 42 deletions(-) diff --git a/netforce_clinic/actions/clinic_hd_case.xml b/netforce_clinic/actions/clinic_hd_case.xml index 7c2fab9..d0398be 100644 --- a/netforce_clinic/actions/clinic_hd_case.xml +++ b/netforce_clinic/actions/clinic_hd_case.xml @@ -2,7 +2,7 @@ Treatments multi_view clinic.hd.case - [["All",[]],["Draft",[["state","=","draft"]]],["In Progress",[["state","=","in_progress"]]],["Completed",[["state","=","completed"]]],["Incomplete",[["state","=","fail"]]],["Cancelled",[["state","=","cancelled"]]]] + [["All",[]],["Draft",[["state","=","draft"]]],["In Progress",[["state","=","in_progress"]]],["Completed",[["state","=","completed"]]],["Uncompleted",[["state","=","uncompleted"]]]] list,form clinic_menu diff --git a/netforce_clinic/layouts/clinic_hd_case_form.xml b/netforce_clinic/layouts/clinic_hd_case_form.xml index 73c8ba2..66fd03b 100644 --- a/netforce_clinic/layouts/clinic_hd_case_form.xml +++ b/netforce_clinic/layouts/clinic_hd_case_form.xml @@ -1,4 +1,4 @@ -
+ - + - @@ -21,6 +20,12 @@ + + + + + + @@ -41,8 +46,8 @@