clinic/netforce_clinic/templates/matching_hdcase.hbs

71 lines
2.5 KiB
Handlebars

<center>
&nbsp;
</center>
<!--<table class="table table-bordered">-->
<table class="table table-condensed table-striped">
<thead>
<tr>
<th colspan="10" style="text-align:center;background-color:#f9e37d;">Import File</th>
<th colspan="5" style="text-align:center;background-color:#2d6ed2;color:white">Netforce</th>
</tr>
<tr>
<th>#</th>
<th>Date</th>
<th>HN</th>
<th>Patient</th>
<th>Type</th>
<th>HCT</th>
<th>EPO</th>
<th>Unit</th>
<th>Fee</th>
<th>Match</th>
<th>Date</th>
<th>HN</th>
<th>HCT</th>
<th>EPO</th>
<th>Fee</th>
</tr>
</thead>
<tbody>
{{#each lines }}
<tr>
<td>{{no}}</td>
<td>{{date}}</td>
<td>{{hn}}</td>
{{#if patient_id}}
<td style="width:15%;">{{view "link" string=patient_name action="clinic_patient" action_options="mode=form" active_id=patient_id}}</td>
{{else}}
<td style="width: 15%">{{patient_name}}</td>
{{/if}}
<td>{{patient_type}}</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>{{unit_amt}}</td>
<td>{{currency fee_amt zero=""}}</td>
{{#if is_match}}
<td style="background-color:#4daa35;width:8%;">
<a style="color:white" href="/ui#name=clinic_hd_case&mode=form&active_id={{hd_case_id}}">{{hd_case_number}}</a>
</td>
{{else}}
<td style="background-color:#b9b9b7;width:8%;">
<a style="color:white" href="/ui#name=clinic_hd_case&mode=form&active_id={{hd_case_id}}">{{hd_case_number}}</a>
</td>
{{/if}}
<td style="width:10%;">{{nf_date}}</td>
<td>{{nf_hn}}</td>
<td>{{nf_hct}}</td>
<td>{{nf_epo}}</td>
<td>{{currency nf_fee zero=""}}</td>
</tr>
{{/each}}
</tbody>
<tfoot>
</tfoot>
</table>