clinic/netforce_clinic/templates/report_hd_payment.hbs

62 lines
1.8 KiB
Handlebars

<center>
<h2>Detail of the Hemodialysis</h2>
<h2>Payment</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>
RC.No
</th>
<th>
Doctor
</th>
<th>
Nurce
</th>
<th>
HD Fee
</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}}"/>
<td></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_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>
{{#if total}}
<td><b>Total</b></td>
<td>{{total}}</td>
{{else}}
<td><a style="text-decoration: underline">{{total}}</a></td>
{{/if}}
</tr>
{{/each}}
</tbody>
<tfoot>
<tr style="font-weight:bold">
</tr>
</tfoot>
</table>