clinic/netforce_clinic/templates/matching_hdcase.hbs

105 lines
3.8 KiB
Handlebars
Raw Permalink Normal View History

2015-02-11 07:51:21 +00:00
<center>
&nbsp;
</center>
<!--<table class="table table-bordered">-->
2015-02-10 12:01:46 +00:00
<table class="table table-condensed table-striped">
<thead>
2015-02-27 07:43:12 +00:00
<tr>
<th colspan="15" style="text-align:center">
<span class="label label-primary">Total: {{total}}</span>
<span class="label label-success">Match: {{total_match}}</span>
<span class="label label-default">Not Match: {{total_unmatch}}</span>
</th>
</tr>
2015-04-29 16:15:11 +00:00
<!--
{{#ifeq state "all"}}
<tr>
<th colspan="15" style="text-align:center">
<span class="label label-primary">Total: {{total}}</span>
<span class="label label-success">Match: {{total_match}}</span>
<span class="label label-default">Not Match: {{total_unmatch}}</span>
</th>
</tr>
{{else}}
<tr>
<th colspan="15" style="text-align:center">
{{#ifeq state "not_match"}}
<span class="label label-default">Total: {{total_unmatch}}</span>
{{else}}
<span class="label label-success">Total: {{total_match}}</span>
{{/ifeq}}
</th>
</tr>
{{/ifeq}}
-->
2015-02-11 07:51:21 +00:00
<tr>
2015-02-19 08:15:41 +00:00
<th colspan="10" style="text-align:center;background-color:#f9e37d;">Import File</th>
2015-02-11 07:51:21 +00:00
<th colspan="5" style="text-align:center;background-color:#2d6ed2;color:white">Netforce</th>
</tr>
<tr>
2015-02-10 12:01:46 +00:00
<th>#</th>
<th>Date</th>
<th>HN</th>
<th>Patient</th>
2015-02-10 16:08:38 +00:00
<th>Type</th>
2015-02-10 12:01:46 +00:00
<th>HCT</th>
2015-02-10 16:08:38 +00:00
<th>EPO</th>
2015-02-19 08:15:41 +00:00
<th>Unit</th>
2015-02-11 07:51:21 +00:00
<th>Fee</th>
<th>Match</th>
<th>Date</th>
<th>HN</th>
<th>HCT</th>
<th>EPO</th>
<th>Fee</th>
</tr>
2015-02-10 12:01:46 +00:00
</thead>
2015-02-11 07:51:21 +00:00
2015-02-10 12:01:46 +00:00
<tbody>
{{#each lines }}
<tr>
<td>{{no}}</td>
<td>{{date}}</td>
<td>{{hn}}</td>
2015-02-10 16:08:38 +00:00
{{#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>
2015-02-10 12:01:46 +00:00
<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}}
2015-02-19 08:15:41 +00:00
<td>{{unit_amt}}</td>
2015-02-10 16:08:38 +00:00
<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>
2015-02-10 12:01:46 +00:00
{{else}}
2015-02-10 16:08:38 +00:00
<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>
2015-02-10 12:01:46 +00:00
{{/if}}
2015-02-19 08:15:41 +00:00
<td style="width:10%;">{{nf_date}}</td>
2015-02-11 07:51:21 +00:00
<td>{{nf_hn}}</td>
<td>{{nf_hct}}</td>
<td>{{nf_epo}}</td>
<td>{{currency nf_fee zero=""}}</td>
2015-02-10 12:01:46 +00:00
</tr>
{{/each}}
</tbody>
<tfoot>
</tfoot>
</table>
2015-04-29 05:37:58 +00:00
{{#if message}}
<strong>
2015-04-29 16:15:11 +00:00
Day Required:
2015-04-29 05:37:58 +00:00
<span style="color:red">
{{message}}
</strong>
{{/if}}