clinic/netforce_clinic/templates/report_medical_summary.hbs

33 lines
1.1 KiB
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-03-24 06:51:21 +00:00
<td style="text-align:center">
<a href="/ui#name=clinic_report_medical_detail&defaults.date_from={{time_start}}&defaults.date_to={{time_stop}}&defaults.types={{types}}&defaults.product_id={{product_id}}&defaults.product_categ_id={{product_categ_id}}">{{qty}} </a>
</td>
2014-12-02 07:08:20 +00:00
{{/each}}
2014-11-05 07:03:12 +00:00
</tr>
{{/each}}
</tbody>
<tfoot>
</tfoot>
</table>