diff --git a/netforce_clinic/templates/rdc_page.hbs b/netforce_clinic/templates/rdc_page.hbs
new file mode 100644
index 0000000..2d87495
--- /dev/null
+++ b/netforce_clinic/templates/rdc_page.hbs
@@ -0,0 +1,73 @@
+{{#view "page" title="Ratchawat Board"}}
+
+
+
+
{{t "Accounting"}}
+
+
+
+
{{t "Matching"}}
+
+
+
+
{{t "Settings"}}
+
+
+
+
+
+
{{t "Doctor/Nurse Cost"}}
+
+
+
+
+{{/view}}
diff --git a/netforce_clinic/templates/report_account_hd_case_detail.hbs b/netforce_clinic/templates/report_account_hd_case_detail.hbs
index 52f16e1..daea16a 100644
--- a/netforce_clinic/templates/report_account_hd_case_detail.hbs
+++ b/netforce_clinic/templates/report_account_hd_case_detail.hbs
@@ -1,3 +1,24 @@
+
+
{{title}}
@@ -13,9 +34,9 @@
@@ -78,21 +103,23 @@
{{/if}}
{{epo_name}} |
- {{currency fee zero=""}} |
- {{currency mdc zero=""}} |
- {{currency lab zero=""}} |
- {{currency misc zero=""}} |
- {{currency dlz_price zero=""}} |
+ {{fee}} |
+ {{mdc}} |
+ {{lab}} |
+ {{misc}} |
+ {{dlz_price}} |
{{#if inv_id}}
{{view "link" string=inv_ref action="cust_invoice" action_options="form_view_xml&cust_invoice_form&mode=form" active_id=inv_id}}
{{/if}}
|
+
{{else}}
{{cycle}} |
@@ -101,9 +128,9 @@
| {{pname}} |
{{ptype}} |
{{epo_name}} |
- {{currency fee zero=""}} |
- {{currency mdc zero=""}} |
- {{currency srv zero=""}} |
+ {{fee}} |
+ {{mdc}} |
+ {{srv}} |
{{#if inv_id}}
{{view "link" string=inv_number action="cust_invoice" action_options="form_view_xml&cust_invoice_form&mode=form" active_id=inv_id}}
@@ -112,6 +139,7 @@
|
|
{{/if}}
+
{{/ifeq}}
{{/each}}
@@ -132,24 +161,42 @@
|
|
|
- {{currency total_fee zero=""}} |
- {{currency total_mdc zero=""}} |
- {{currency total_lab zero=""}} |
- {{currency total_misc zero=""}} |
- {{currency total_dlz zero=""}} |
- |
+ {{total_fee}} |
+ {{total_mdc}} |
+ {{total_lab}} |
+ {{total_misc}} |
+ {{total_dlz}} |
{{else}}
|
|
|
|
|
- {{currency total_fee zero=""}} |
- {{currency total_mdc zero=""}} |
- {{currency total_srv zero=""}} |
- |
+ {{total_fee}} |
+ {{total_mdc}} |
+ {{total_srv}} |
|
{{/ifeq}}
+
+
+
diff --git a/netforce_clinic/templates/report_account_hd_case_summary.hbs b/netforce_clinic/templates/report_hdcase_expense_summary.hbs
similarity index 76%
rename from netforce_clinic/templates/report_account_hd_case_summary.hbs
rename to netforce_clinic/templates/report_hdcase_expense_summary.hbs
index e64af47..96e08ab 100644
--- a/netforce_clinic/templates/report_account_hd_case_summary.hbs
+++ b/netforce_clinic/templates/report_hdcase_expense_summary.hbs
@@ -1,3 +1,24 @@
+
+
{{title}}
@@ -21,9 +42,9 @@