clinic/netforce_clinic/templates/report_medical_summary.hbs

31 lines
810 B
Handlebars
Raw Normal View History

2014-11-05 07:03:12 +00:00
<center>
2014-11-12 11:13:23 +00:00
<h2>จำนวนยาที่ใช้</h2>
2014-11-05 07:03:12 +00:00
<h3>
{{parent_company_name}}&nbsp;{{company_name}}<br/>
</h3>
<h4>
ประจำเดือน {{month}} {{year}}
</h4>
</center>
2015-02-20 13:10:40 +00:00
<table class="table table-bordered">
2014-11-05 07:03:12 +00:00
<thead>
2014-12-02 07:08:20 +00:00
{{#each titles}}
2015-02-21 13:38:21 +00:00
<th style="text-align:center">{{name}}</th>
2014-12-02 07:08:20 +00:00
{{/each}}
2014-11-05 07:03:12 +00:00
</thead>
<tbody>
{{#each lines}}
<tr>
2015-02-20 13:10:40 +00:00
<td style="width:20%;">
2014-11-10 14:52:47 +00:00
<a href="/ui#name=product&active_id={{prod_id}}&mode=form"> {{prod_name}} </a>
</td>
2014-12-02 07:08:20 +00:00
{{#each sub_lines}}
2015-02-21 13:38:21 +00:00
<td style="text-align:center">{{qty}}</td>
2014-12-02 07:08:20 +00:00
{{/each}}
2014-11-05 07:03:12 +00:00
</tr>
{{/each}}
</tbody>
<tfoot>
</tfoot>
</table>