From 6897215ab2d0c0d26f10137dd018e6d51a0e53d1 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Tue, 10 Feb 2015 19:01:46 +0700 Subject: [PATCH] matching hd case --- netforce_clinic/actions/clinic_dialyzer.xml | 3 +- .../actions/clinic_matching_hdcase.xml | 8 + .../layouts/clinic_dialyzer_form.xml | 1 - .../layouts/clinic_matching_hdcase.xml | 4 + netforce_clinic/layouts/clinic_menu.xml | 2 +- netforce_clinic/models/__init__.py | 1 + netforce_clinic/models/matching_hdcase.py | 183 ++++++++++++++++++ netforce_clinic/models/setting.py | 8 +- netforce_clinic/reports/matching_hdcase.xlsx | Bin 0 -> 4694 bytes netforce_clinic/templates/clinic_page.hbs | 3 + netforce_clinic/templates/matching_hdcase.hbs | 36 ++++ 11 files changed, 242 insertions(+), 7 deletions(-) create mode 100644 netforce_clinic/actions/clinic_matching_hdcase.xml create mode 100644 netforce_clinic/layouts/clinic_matching_hdcase.xml create mode 100644 netforce_clinic/models/matching_hdcase.py create mode 100644 netforce_clinic/reports/matching_hdcase.xlsx create mode 100644 netforce_clinic/templates/matching_hdcase.hbs diff --git a/netforce_clinic/actions/clinic_dialyzer.xml b/netforce_clinic/actions/clinic_dialyzer.xml index f9b970e..7fb9cf2 100644 --- a/netforce_clinic/actions/clinic_dialyzer.xml +++ b/netforce_clinic/actions/clinic_dialyzer.xml @@ -2,7 +2,8 @@ Dialyzers multi_view clinic.dialyzer - [["All",[]],["New",[["state","=","new"]]],["Active",[["state","=","active"]]],["Drop",[["state","=","drop"]]],["Expire",[["state","=","expire"]]],["Cancelled",[["state","=","cancelled"]]]] + [["All",[]],["New",[["state","=","new"]]],["Active",[["state","=","active"]]],["Drop",[["state","=","drop"]]],["Expire",[["state","=","expire"]]]] list,page,form clinic_menu + 25 diff --git a/netforce_clinic/actions/clinic_matching_hdcase.xml b/netforce_clinic/actions/clinic_matching_hdcase.xml new file mode 100644 index 0000000..a9961b2 --- /dev/null +++ b/netforce_clinic/actions/clinic_matching_hdcase.xml @@ -0,0 +1,8 @@ + + Matching HDCase + report + clinic.matching.hdcase + matching_hdcase + matching_hdcase + clinic_menu + diff --git a/netforce_clinic/layouts/clinic_dialyzer_form.xml b/netforce_clinic/layouts/clinic_dialyzer_form.xml index ae13823..2da19eb 100644 --- a/netforce_clinic/layouts/clinic_dialyzer_form.xml +++ b/netforce_clinic/layouts/clinic_dialyzer_form.xml @@ -29,7 +29,6 @@ -