clinic/netforce_clinic/templates/report_hd_medical.hbs

43 lines
1012 B
Handlebars

<center>
<h2>
Summary of the Medical
</h2>
<h3>
[{{company_name}}]<br/>
</h3>
<h4>
As at {{month}} {{year}}
</h4>
</center>
<table class="table table-bordered">
<thead>
<tr>
<th>Product ID</th>
<th>Product Name</th>
<th>UC</th>
<th>Pay</th>
<th>Total</th>
</tr>
</thead>
<tbody>
{{#each lines}}
<tr>
<td>{{product_code}}</td>
<td><a style="text-decoration: underline" href=ui#name=product&mode=form&active_id={{product_id}}>{{medical}}</a></td>
<td>{{uc}}</td>
<td style color="red"></style>{{buy}}</td>
<td style color="blue"></style>{{amount}}</td>
</tr>
{{/each}}
</tbody>
<tfoot>
<tr>
<td></td>
<td></td>
<td>-</td>
<td>-</td>
<td><b>32</b></td>
</tr>
</tfoot>
</table>