clinic/netforce_clinic/templates/report_payment_matching.hbs

53 lines
1.8 KiB
Handlebars
Raw Normal View History

2014-12-09 02:40:53 +00:00
<center>
2014-12-21 17:24:08 +00:00
<h3>Invoice Matching</h3>
<p>
<span style="height: 20px; width: 100px; background-color: #419641; padding-right: 20px;">
<b>
Match: {{match_qty}}
</b>
</span>
<span style="height: 20px; width: 100px; background-color: red; padding-left: 20px;">
<b>
Not Match: {{nomatch_qty}}
</b>
</span>
</p>
2014-12-09 02:40:53 +00:00
</center>
{{#if lines}}
<table class="table table-condensed table-striped">
<thead>
2014-12-21 17:24:08 +00:00
<th>#</th>
2014-12-21 13:29:25 +00:00
<th>HN</th>
2014-12-16 09:53:36 +00:00
<th>Patient</th>
2014-12-21 17:24:08 +00:00
<th>Date</th>
2014-12-21 13:29:25 +00:00
<th>Invoice No</th>
<th>Fee</th>
2014-12-16 09:53:36 +00:00
<th>Medicine</th>
<th>Service</th>
2014-12-21 13:29:25 +00:00
<th>Match</th>
2014-12-09 02:40:53 +00:00
</thead>
<tbody>
{{#each lines}}
<tr>
2014-12-21 17:24:08 +00:00
<td style="background-color:{{expx_color}}">{{no}}</td>
<td style="background-color:{{expx_color}}"><a href="/ui#name=clinic_patient&active_id={{patient_id}}&mode=form">{{hn}}</a></td>
<td style="background-color:{{expx_color}}"><a href="/ui#name=clinic_patient&active_id={{patient_id}}&mode=form">{{patient_name}}</a></td>
<td style="background-color:{{expx_color}}">{{date}}</td>
<td style="background-color:{{expx_color}}">{{invno}}</td>
<td style="background-color:{{expx_color}}">{{fee_amt}}</td>
<td style="background-color:{{expx_color}}">{{mdc_amt}}</td>
<td style="background-color:{{expx_color}}">{{srv_amt}}</td>
<td style="background-color:{{exp_color}}">
<a style="" href="/ui#name=clinic_hd_case_expense&active_id={{exp_id}}&mode=form">{{match}}</a>
</td>
2014-12-09 02:40:53 +00:00
</tr>
{{/each}}
</tbody>
<tfoot>
</tfoot>
</table>
{{else}}
2014-12-16 09:53:36 +00:00
Waiting matching.
2014-12-09 02:40:53 +00:00
{{/if}}