clinic/netforce_clinic/templates/matching_hdcase.hbs

49 lines
1.9 KiB
Handlebars
Raw Normal View History

2015-02-10 12:01:46 +00:00
<table class="table table-condensed table-striped">
<thead>
<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-10 12:01:46 +00:00
<th>Fee Amount</th>
<th>HD Case</th>
2015-02-10 16:08:38 +00:00
<th>Note (fmt: date,hn,hct,epo,fee)</th>
2015-02-10 12:01:46 +00:00
</thead>
<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-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-10 16:08:38 +00:00
<td>{{note}}</td>
2015-02-10 12:01:46 +00:00
</tr>
{{/each}}
</tbody>
<tfoot>
</tfoot>
</table>