From 9c517a646848cb05bf73bc6c2384d0a05e209f0a Mon Sep 17 00:00:00 2001 From: "chayut.s" Date: Wed, 22 Oct 2014 10:43:46 +0700 Subject: [PATCH] clean --- .../layouts/clinic_report_hd_monthly.xml | 3 - netforce_clinic/models/clinic_round.py | 27 ------ netforce_clinic/templates/report_hd_dialy.hbs | 84 ------------------- 3 files changed, 114 deletions(-) delete mode 100644 netforce_clinic/layouts/clinic_report_hd_monthly.xml delete mode 100644 netforce_clinic/models/clinic_round.py delete mode 100644 netforce_clinic/templates/report_hd_dialy.hbs diff --git a/netforce_clinic/layouts/clinic_report_hd_monthly.xml b/netforce_clinic/layouts/clinic_report_hd_monthly.xml deleted file mode 100644 index 7249176..0000000 --- a/netforce_clinic/layouts/clinic_report_hd_monthly.xml +++ /dev/null @@ -1,3 +0,0 @@ -
- - diff --git a/netforce_clinic/models/clinic_round.py b/netforce_clinic/models/clinic_round.py deleted file mode 100644 index 40854ec..0000000 --- a/netforce_clinic/models/clinic_round.py +++ /dev/null @@ -1,27 +0,0 @@ -from netforce.model import Model, fields - -class ClinicRound(Model): - _name="clinic.round" - _string="Round" - - _fields={ - "name": fields.Char("Name",required=True,search=True), - } - - def get_data(self,context={}): - lines=[] - for i in range(10): - line={ - 'no': i, - 'doctor': 'Doctor %s'%i, - #...... - } - lines.append(line) - - data={ - 'lines': lines, - } - print('data ', data) - return data - -ClinicRound.register() diff --git a/netforce_clinic/templates/report_hd_dialy.hbs b/netforce_clinic/templates/report_hd_dialy.hbs deleted file mode 100644 index 5056fd3..0000000 --- a/netforce_clinic/templates/report_hd_dialy.hbs +++ /dev/null @@ -1,84 +0,0 @@ -
-

Summary of the Hemodialysis

-

Clinic [Ratchawat]

-

- {{#if same_date}} - As at {{fmt_date date_from}} - {{else}} - From {{fmt_date date_from}} to {{fmt_date date_to}} - {{/if}} -

-
- - - - - - - - - - - - - - - {{#each lines context=context}} - {{#if show_cycle}} - - - - {{/if}} - - {{#if no_patient}} - - - {{else}} - - - {{/if}} - - - - - - - - {{/each}} - - - - - - -
- Cycle - - Patient - - Doctor - - Patient Type - - HD Fee - - RC.No - - Dialyzer - - Nurse -
- {{cycle}} -
TOTAL{{no_patient}}{{patient}} - {{doctor}} - - {{patient_type}} - - {{total}} - - {{rc_no}} - - {{dialyzer_name}} - - {{nurse}} -