clinic/netforce_clinic/templates/report_hd_detail.hbs

77 lines
2.3 KiB
Handlebars

<center>
<h2>Detail of the Hemodialysis</h2>
<h3>[{{company_name}}]</h3>
<h4>
{{#if same_date}}
As at {{fmt_date date_from}}
{{else}}
From {{fmt_date date_from}} to {{fmt_date date_to}}
{{/if}}
</h4>
</center>
<table class="table table-bordered">
<thead class="scroll-header">
<tr>
<th>
Cycle
</th>
<th>
Patient
</th>
<th>
Patient Type
</th>
<th>
HD Fee
</th>
<th>
RC.No
</th>
<th>
Dialyzer
</th>
<th>
Doctor
</th>
<th>
Nurse
</th>
</tr>
</thead>
<tbody>
{{#each lines context=context}}
{{#if show_cycle}}
<tr>
<td colspan="10" style="font-weight:bold">
{{cycle}}
</td>
</tr>
{{/if}}
<tr class="{{color}}">
{{#if no_patient}}
<td><b>TOTAL</b></td>
<td>{{no_patient}}</td>
{{else}}
<td></td>
<td><a style="text-decoration: underline" href="ui#name=clinic_patient&mode=page&active_id={{patient_id}}">{{patient_name}}</a></td>
{{/if}}
<td>
{{patient_type}}
</td>
<td>
{{total}}
</td>
<td><a style="text-decoration: underline" href="ui#name=clinic_hd_case&mode=page&active_id={{hd_case_id}}">{{rc_no}}</a></td>
<td><a style="text-decoration: underline" href="ui#name=clinic_dialyzer&mode=page&active_id={{dialyzer_number}}">{{dialyzer_number}}</a></td>
<td><a style="text-decoration: underline" href="ui#name=clinic_doctor&mode=page&active_id={{doctor_id}}">{{doctor_name}}</a></td>
<td><a style="text-decoration: underline" href="ui#name=clinic_nurse&mode=page&active_id={{nurse_id}}">{{nurse_name}}</a></td>
</tr>
{{/each}}
</tbody>
<tfoot>
<tr style="font-weight:bold">
</tr>
</tfoot>
</table>