From 685f477675f4060fc247fcea346edfffe80f3852 Mon Sep 17 00:00:00 2001 From: "watcha.h@almacom.co.th" Date: Tue, 12 May 2015 14:51:27 +0700 Subject: [PATCH] change visit --- .../actions/clinic_change_visit.xml | 6 + .../layouts/clinic_change_visit.xml | 14 ++ .../layouts/clinic_report_hd_case_summary.xml | 3 + .../layouts/clinic_visit_board.xml | 1 + netforce_clinic/layouts/clinic_visit_form.xml | 1 + netforce_clinic/models/__init__.py | 1 + netforce_clinic/models/change_visit.py | 139 ++++++++++++++++++ netforce_clinic/models/hd_case_print.py | 5 - .../models/report_hd_case_summary.py | 4 + netforce_clinic/models/visit.py | 1 + netforce_clinic/models/visit_board.py | 17 ++- netforce_clinic/templates/report_visit.hbs | 15 -- 12 files changed, 183 insertions(+), 24 deletions(-) create mode 100644 netforce_clinic/actions/clinic_change_visit.xml create mode 100644 netforce_clinic/layouts/clinic_change_visit.xml create mode 100644 netforce_clinic/models/change_visit.py diff --git a/netforce_clinic/actions/clinic_change_visit.xml b/netforce_clinic/actions/clinic_change_visit.xml new file mode 100644 index 0000000..79be8ad --- /dev/null +++ b/netforce_clinic/actions/clinic_change_visit.xml @@ -0,0 +1,6 @@ + + Change Visit + form_popup + clinic.change.visit + _popup + diff --git a/netforce_clinic/layouts/clinic_change_visit.xml b/netforce_clinic/layouts/clinic_change_visit.xml new file mode 100644 index 0000000..885d014 --- /dev/null +++ b/netforce_clinic/layouts/clinic_change_visit.xml @@ -0,0 +1,14 @@ +
+ + + + + + + + + + +