From 9a34d2bee37ca8e9109717100d59a57f306ecb77 Mon Sep 17 00:00:00 2001 From: CASH Date: Thu, 11 Sep 2014 10:21:52 +0700 Subject: [PATCH] add setting account clinic --- clinic.egg-info/SOURCES.txt | 1 + clinic/__pycache__/__init__.cpython-32.pyc | Bin 0 -> 244 bytes clinic/actions/clinic_hd_case.xml | 4 +- clinic/actions/clinic_setting.xml | 10 ++ clinic/actions/clinic_visit.xml | 4 +- .../__pycache__/__init__.cpython-32.pyc | Bin 0 -> 148 bytes clinic/layouts/clinic_hd_case_form.xml | 46 +++--- clinic/layouts/clinic_setting.xml | 14 ++ clinic/layouts/clinic_visit_calendar.xml | 5 +- clinic/layouts/clinic_visit_form.xml | 7 +- clinic/layouts/clinic_visit_list.xml | 1 + clinic/models/__init__.py | 1 + .../__pycache__/__init__.cpython-32.pyc | Bin 665 -> 726 bytes .../clinic_dialyzer.cpython-32.pyc | Bin 0 -> 3617 bytes .../__pycache__/clinic_hd_case.cpython-32.pyc | Bin 0 -> 8686 bytes .../clinic_hd_case_line.cpython-32.pyc | Bin 0 -> 2077 bytes .../clinic_hd_case_line_detail.cpython-32.pyc | Bin 0 -> 1392 bytes .../__pycache__/clinic_patient.cpython-32.pyc | Bin 6592 -> 6591 bytes .../__pycache__/clinic_setting.cpython-32.pyc | Bin 0 -> 1573 bytes .../__pycache__/clinic_visit.cpython-32.pyc | Bin 3021 -> 3282 bytes clinic/models/clinic_dialyzer.py | 2 +- clinic/models/clinic_hd_case.py | 137 +++++++++++++++++- clinic/models/clinic_patient.py | 2 +- clinic/models/clinic_setting.py | 22 +++ clinic/models/clinic_visit.py | 21 +-- 25 files changed, 236 insertions(+), 41 deletions(-) create mode 100644 clinic/__pycache__/__init__.cpython-32.pyc create mode 100644 clinic/actions/clinic_setting.xml create mode 100644 clinic/controllers/__pycache__/__init__.cpython-32.pyc create mode 100644 clinic/layouts/clinic_setting.xml create mode 100644 clinic/models/__pycache__/clinic_dialyzer.cpython-32.pyc create mode 100644 clinic/models/__pycache__/clinic_hd_case.cpython-32.pyc create mode 100644 clinic/models/__pycache__/clinic_hd_case_line.cpython-32.pyc create mode 100644 clinic/models/__pycache__/clinic_hd_case_line_detail.cpython-32.pyc create mode 100644 clinic/models/__pycache__/clinic_setting.cpython-32.pyc create mode 100644 clinic/models/clinic_setting.py diff --git a/clinic.egg-info/SOURCES.txt b/clinic.egg-info/SOURCES.txt index 0790ecb..3104b53 100644 --- a/clinic.egg-info/SOURCES.txt +++ b/clinic.egg-info/SOURCES.txt @@ -11,6 +11,7 @@ clinic/models/clinic_dialyzer.py clinic/models/clinic_doctor.py clinic/models/clinic_hd_case.py clinic/models/clinic_hd_case_line.py +clinic/models/clinic_hd_case_line_detail.py clinic/models/clinic_nurse.py clinic/models/clinic_patient.py clinic/models/clinic_visit.py \ No newline at end of file diff --git a/clinic/__pycache__/__init__.cpython-32.pyc b/clinic/__pycache__/__init__.cpython-32.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b14183e11117b0863b934b6fc792cb484a1eada6 GIT binary patch literal 244 zcmZ9HO$x#=5Jo4di1-5@LL?jQ1w=f7o9?;^l15sXG?Fw6kK+-&fnOA{7&0$;%omvO zay8#Ro|U1|lDMBxaRW5if|$q&ss)Mc^6ipp2`{Kp69hW}sEjlPoNp}0k1ycH_e1c^ zHpH_katbw$roWWR{U6c}TDIQV(p+L&_I9}XU|`(!o%tSG!v?MQw|ko5#Q}39w#PhI I%pY5e7l%$T)c^nh literal 0 HcmV?d00001 diff --git a/clinic/actions/clinic_hd_case.xml b/clinic/actions/clinic_hd_case.xml index 1097fdc..e06a7a3 100644 --- a/clinic/actions/clinic_hd_case.xml +++ b/clinic/actions/clinic_hd_case.xml @@ -2,7 +2,7 @@ HD Case multi_view clinic.hd.case - [["All",[]],["Draft",[["state","=","draft"]]],["Pending",[["state","=","pending"]]],["Confirm",[["state","=","corfirmed"]]]] - list,page,form + [["All",[]],["Draft",[["state","=","draft"]]],["Confirm",[["state","=","corfirmed"]]],["Approved",[["state","=","approved"]]],["Validate",[["state","=","validate"]]],["Payment",[["state","=","payment"]]]] + list,form clinic_menu diff --git a/clinic/actions/clinic_setting.xml b/clinic/actions/clinic_setting.xml new file mode 100644 index 0000000..7dac94f --- /dev/null +++ b/clinic/actions/clinic_setting.xml @@ -0,0 +1,10 @@ + + clinic_setting + Settings + form_view + clinic.setting + form + 1 + clinic_menu + + diff --git a/clinic/actions/clinic_visit.xml b/clinic/actions/clinic_visit.xml index 6afafb2..2de58af 100644 --- a/clinic/actions/clinic_visit.xml +++ b/clinic/actions/clinic_visit.xml @@ -2,7 +2,7 @@ Visit multi_view clinic.visit - [["All",[]],["Draft",[["state","=","draft"]]],["Pending",[["state","=","pending"]]],["Confirm",[["state","=","corfirmed"]]]] - list,calendar,page,form + [["All",[]],["Pending",[["state","=","pending"]]],["Confirm",[["state","=","corfirmed"]]],["Canceled",[["state","=","canceled"]]]] + list,calendar,form clinic_menu diff --git a/clinic/controllers/__pycache__/__init__.cpython-32.pyc b/clinic/controllers/__pycache__/__init__.cpython-32.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6fd756360f232f9dea122479351cd49a050a57dc GIT binary patch literal 148 zcmd1d;pO^0?Llxd0}@~avK@f9m<33rFfasbfJFQ>fCK{?QECYk)6dAyP1R3MEY8r+ zOD##uFG>dTax(KWli^f;UP)1YPEKl3v3`6!P^Kh4Uaz3Clmn>SCO1E&G$+*#WJfU& GGXMbPwIHPc literal 0 HcmV?d00001 diff --git a/clinic/layouts/clinic_hd_case_form.xml b/clinic/layouts/clinic_hd_case_form.xml index e215b9f..80be1ac 100644 --- a/clinic/layouts/clinic_hd_case_form.xml +++ b/clinic/layouts/clinic_hd_case_form.xml @@ -2,46 +2,56 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - + + + + + + +