clinic/netforce_clinic/templates/report_medical_detail.hbs

50 lines
1.2 KiB
Handlebars
Raw Normal View History

2015-03-24 06:51:21 +00:00
<center>
<h3>
{{company_name}}
</h3>
</center>
<table class="table table-bordered">
<thead>
<tr>
<th>#</th>
<th>Date</th>
<th>Cycle</th>
<th>Number</th>
2015-03-24 06:51:21 +00:00
<th>Patient</th>
<th>Type</th>
<th>Department</th>
<th>Qty</th>
</tr>
</thead>
<tbody>
{{#each lines}}
<tr>
<td>{{no}}</td>
<td>{{date}}</td>
<td>{{cname}}</td>
2015-03-24 06:51:21 +00:00
<td>
{{#if is_shop}}
{{view "link" string=hname action="clinic_shop" action_options="mode=form" active_id=hid}}
{{else}}
{{view "link" string=hname action="clinic_hd_case" action_options="mode=form" active_id=hid}}
{{/if}}
2015-03-24 06:51:21 +00:00
</td>
<td>{{pname}}</td>
<td>{{tname}}</td>
<td>{{dpt_name}}</td>
<td>{{qty}}</td>
</tr>
{{/each}}
</tbody>
<tfoot>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
2015-03-24 11:52:07 +00:00
<th></th>
<th></th>
2015-03-24 06:51:21 +00:00
<th>{{total_qty}}</th>
</tfoot>
</table>