diff --git a/netforce_clinic/actions/clinic_report_account_hd_case_summary.xml b/netforce_clinic/actions/clinic_report_account_hd_case_summary.xml deleted file mode 100644 index 5b156b9..0000000 --- a/netforce_clinic/actions/clinic_report_account_hd_case_summary.xml +++ /dev/null @@ -1,8 +0,0 @@ - - Account HD Case Summary - report - clinic.report.account.hd.case.summary - report_account_hd_case_summary - report_account_hd_case_summary - account_menu - diff --git a/netforce_clinic/actions/rdc_board.xml b/netforce_clinic/actions/rdc_board.xml new file mode 100644 index 0000000..723080b --- /dev/null +++ b/netforce_clinic/actions/rdc_board.xml @@ -0,0 +1,5 @@ + + template_view + rdc_page + account_menu + diff --git a/netforce_clinic/actions/report_hdcase_expense_summary.xml b/netforce_clinic/actions/report_hdcase_expense_summary.xml new file mode 100644 index 0000000..a842d6b --- /dev/null +++ b/netforce_clinic/actions/report_hdcase_expense_summary.xml @@ -0,0 +1,8 @@ + + HDCase Expense Summary + report + report.hdcase.expense.summary + report_hdcase_expense_summary + report_hdcase_expense_summary + account_menu + diff --git a/netforce_clinic/layouts/clinic_account_menu.xml b/netforce_clinic/layouts/clinic_account_menu.xml index 85717d3..cb40bfd 100644 --- a/netforce_clinic/layouts/clinic_account_menu.xml +++ b/netforce_clinic/layouts/clinic_account_menu.xml @@ -1,40 +1,6 @@ - -
- - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - + diff --git a/netforce_clinic/layouts/clinic_account_menu.xml.old b/netforce_clinic/layouts/clinic_account_menu.xml.old new file mode 100644 index 0000000..6477713 --- /dev/null +++ b/netforce_clinic/layouts/clinic_account_menu.xml.old @@ -0,0 +1,38 @@ + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + +
+ + + +
+ + + + + + + diff --git a/netforce_clinic/layouts/clinic_report_account_hd_case_summary.xml b/netforce_clinic/layouts/report_hdcase_expense_summary.xml similarity index 92% rename from netforce_clinic/layouts/clinic_report_account_hd_case_summary.xml rename to netforce_clinic/layouts/report_hdcase_expense_summary.xml index 5977ec8..347d27b 100644 --- a/netforce_clinic/layouts/clinic_report_account_hd_case_summary.xml +++ b/netforce_clinic/layouts/report_hdcase_expense_summary.xml @@ -1,4 +1,4 @@ -
+ diff --git a/netforce_clinic/models/__init__.py b/netforce_clinic/models/__init__.py index b916ed5..8563616 100644 --- a/netforce_clinic/models/__init__.py +++ b/netforce_clinic/models/__init__.py @@ -67,7 +67,7 @@ from . import report_clinic from . import report_visit from . import report_cycle_item from . import report_hd_case_summary -from . import report_account_hd_case_summary +from . import report_hdcase_expense_summary from . import report_account_hd_case_detail from . import report_hd_case_detail from . import report_medical_summary diff --git a/netforce_clinic/models/report_account_hd_case_summary.py b/netforce_clinic/models/report_hdcase_expense_summary.py similarity index 98% rename from netforce_clinic/models/report_account_hd_case_summary.py rename to netforce_clinic/models/report_hdcase_expense_summary.py index 4709d85..c984a20 100644 --- a/netforce_clinic/models/report_account_hd_case_summary.py +++ b/netforce_clinic/models/report_hdcase_expense_summary.py @@ -4,9 +4,9 @@ from calendar import monthrange from netforce.model import Model, fields, get_model from netforce.access import get_active_company -class ReportAccountHDCaseSummary(Model): - _name="clinic.report.account.hd.case.summary" - _string="HD Case Report Summary" +class ReportHDCaseExpenseSummary(Model): + _name="report.hdcase.expense.summary" + _string="HDCase Expense Summary" _transient=True _fields={ @@ -377,4 +377,4 @@ class ReportAccountHDCaseSummary(Model): data['date_to']=data['date_from'] return data -ReportAccountHDCaseSummary.register() +ReportHDCaseExpenseSummary.register() diff --git a/netforce_clinic/reports/report_account_hd_case_summary.xlsx b/netforce_clinic/reports/report_hdcase_expense_summary.xlsx similarity index 100% rename from netforce_clinic/reports/report_account_hd_case_summary.xlsx rename to netforce_clinic/reports/report_hdcase_expense_summary.xlsx diff --git a/netforce_clinic/templates/clinic_page.hbs b/netforce_clinic/templates/clinic_page.hbs index c4ce238..4a400fa 100644 --- a/netforce_clinic/templates/clinic_page.hbs +++ b/netforce_clinic/templates/clinic_page.hbs @@ -1,4 +1,4 @@ -{{#view "page" title="Clinic Board"}} +{{#view "page" title="Nurse Board"}}
diff --git a/netforce_clinic/templates/rdc_page.hbs b/netforce_clinic/templates/rdc_page.hbs new file mode 100644 index 0000000..ee70f2e --- /dev/null +++ b/netforce_clinic/templates/rdc_page.hbs @@ -0,0 +1,73 @@ +{{#view "page" title="Ratchawat Board"}} + +{{/view}} diff --git a/netforce_clinic/templates/report_account_hd_case_summary.hbs b/netforce_clinic/templates/report_hdcase_expense_summary.hbs similarity index 100% rename from netforce_clinic/templates/report_account_hd_case_summary.hbs rename to netforce_clinic/templates/report_hdcase_expense_summary.hbs