clinic/netforce_clinic/templates/report_cycle_item.hbs

96 lines
3.4 KiB
Handlebars
Raw Normal View History

2015-03-06 05:15:19 +00:00
<center>
2015-03-13 16:31:58 +00:00
<h3>{{company_name}}</h3>
2015-03-06 05:15:19 +00:00
<h4>
ระหว่างวันที่ {{date_from}} ถึง {{date_to}}
</h4>
</center>
<table class="table table-condensed table-striped">
<thead>
<th>#</th>
<th>วันที่</th>
<th>รอบ</th>
2015-03-13 16:31:58 +00:00
<th>ชื่อ-สกุล</th>
2015-03-06 05:15:19 +00:00
<th>แพทย์</th>
2015-03-13 16:31:58 +00:00
<th>สิทธ์</th>
2015-03-24 04:05:50 +00:00
<th style="text-align:right">จ.น.เงิน</th>
2015-03-13 16:31:58 +00:00
<th>ยาฉีด</th>
<th>DZ</th>
<th>N/U</th>
<th>พยาบาล</th>
<!--<th>หมายเหตุ</th>-->
2015-03-06 05:15:19 +00:00
</thead>
<tbody>
{{#each lines }}
2015-03-18 10:35:49 +00:00
{{#if cancel}}
<tr style="background-color:#b6b6b6;">
{{else}}
2015-03-06 05:15:19 +00:00
<tr>
2015-03-18 10:35:49 +00:00
{{/if}}
2015-03-06 05:15:19 +00:00
<td>{{no}}</td>
2015-03-13 16:31:58 +00:00
<td><a href="/ui#name=clinic_hd_case&active_id={{hdcase_id}}&mode=form">{{date}}</a></td>
<td>{{cname}}</td>
2015-03-06 05:15:19 +00:00
<td><a href="/ui#name=clinic_patient&active_id={{pid}}&mode=form">{{pname}}</a></td>
<td><a href="/ui#name=clinic_staff&active_id={{did}}&mode=form">{{dname}}</a></td>
2015-03-13 16:31:58 +00:00
<td><a href="/ui#name=clinic_patient_type&active_id={{tid}}&mode=form">{{tname}}</a></td>
2015-03-24 04:05:50 +00:00
<td style="text-align:right">{{fee}}</td>
2015-04-03 04:45:16 +00:00
<td style="text-align:right">{{mdc}}</td>
2015-03-13 16:31:58 +00:00
<td><a href="/ui#name=clinic_dialyzer&active_id={{dlz_id}}&mode=form">{{dlz_name}}</a></td>
<td>{{dlz_use}}</td>
<td><a href="/ui#name=clinic_cycle_item&active_id={{ctid}}&mode=form">View</a></td>
<!--<td>{{note}}</td>-->
2015-03-06 05:15:19 +00:00
</tr>
{{/each}}
</tbody>
<tfoot>
2015-03-24 04:05:50 +00:00
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th style="text-align:right">{{currency total_fee zero=""}}</th>
2015-04-03 04:45:16 +00:00
<th style="text-align:right">{{currency total_mdc}}</th>
2015-03-24 04:05:50 +00:00
<th></th>
<th></th>
<th></th>
2015-03-06 05:15:19 +00:00
</tfoot>
</table>
2015-04-03 04:45:16 +00:00
<table class="table table-condensed table-striped">
<tr>
<td colspan="5" style="width:50%">
<table class="table ">
<thead>
<th>Vascular Access</th>
<th>Qty</th>
</thead>
<tbody>
{{#each vscl_lines}}
<tr>
<td>{{description}}</td><td>{{qty}}</td>
</tr>
{{/each}}
</tbody>
</table>
</td>
<td colspan="6" style="width:50%">
<table class="table ">
<thead>
<th>Patient Type</th>
<th>Qty</th>
</thead>
<tbody>
{{#each ptype_lines}}
<tr>
<td>{{name}}</td><td>{{qty}}</td>
</tr>
{{/each}}
</tbody>
<tfoot>
<th>รวมผู้ป่วยทั้งหมด</th>
<th>{{total_pt}}</th>
</tfoot>
</table>
</td>
</tr>
</table>