37 lines
1.2 KiB
Handlebars
37 lines
1.2 KiB
Handlebars
|
<table class="table table-condensed table-striped">
|
||
|
<thead>
|
||
|
<th>#</th>
|
||
|
<th>Date</th>
|
||
|
<th>HN</th>
|
||
|
<th>Patient</th>
|
||
|
<th>HCT</th>
|
||
|
<th>Product</th>
|
||
|
<th>Fee Amount</th>
|
||
|
<th>HD Case</th>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{{#each lines }}
|
||
|
<tr>
|
||
|
<td>{{no}}</td>
|
||
|
<td>{{date}}</td>
|
||
|
<td>{{hn}}</td>
|
||
|
<td>{{patient_name}}</td>
|
||
|
<td>{{hct}}</td>
|
||
|
{{#if prod_id}}
|
||
|
<td>{{view "link" string=prod_name action="product" action_options="mode=form" active_id=prod_id}}</td>
|
||
|
{{else}}
|
||
|
<td>{{prod_name}}</td>
|
||
|
{{/if}}
|
||
|
<td>{{fee_amt}}</td>
|
||
|
{{#if hd_case_id}}
|
||
|
<td style="background-color;#4daa35;color:white">{{view "link" string=hd_case_number action="clinic_hd_case" action_options="mode=form" active_id=hd_case_id}}</td>
|
||
|
{{else}}
|
||
|
<td>{{hd_case_number}}</td>
|
||
|
{{/if}}
|
||
|
</tr>
|
||
|
{{/each}}
|
||
|
</tbody>
|
||
|
<tfoot>
|
||
|
</tfoot>
|
||
|
</table>
|