clinic/netforce_clinic/templates/report_hd_detail.hbs

85 lines
1.9 KiB
Handlebars
Raw Normal View History

2014-10-20 11:48:39 +00:00
<center>
<h2>Detail of the Hemodialysis</h2>
2014-10-21 11:22:48 +00:00
<h3>[{{company_name}}]</h3>
2014-10-20 11:48:39 +00:00
<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-striped">
<thead class="scroll-header">
<tr>
<th>
Cycle
</th>
<th>
Patient
</th>
<th>
Doctor
</th>
<th>
Patient Type
</th>
<th>
HD Fee
</th>
<th>
RC.No
</th>
<th>
Dialyzer
</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>{{patient}}</td>
{{/if}}
<td>
{{doctor}}
</td>
<td>
{{patient_type}}
</td>
<td>
{{total}}
</td>
<td>
{{rc_no}}
</td>
<td>
{{dialyzer_name}}
</td>
<td>
{{nurse}}
</td>
</tr>
{{/each}}
</tbody>
<tfoot>
<tr style="font-weight:bold">
</tr>
</tfoot>
</table>