clinic/netforce_clinic/templates/report_cycle_item.hbs

131 lines
5.0 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>
2015-05-04 10:35:11 +00:00
<table class="table table-condensed table-striped" style="margin-bottom:0px;">
2015-03-06 05:15:19 +00:00
<thead>
<th>วันที่</th>
<th>รอบ</th>
2015-05-04 10:35:11 +00:00
<th>No</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-05-06 05:04:00 +00:00
<!--
2015-03-24 04:05:50 +00:00
<th style="text-align:right">จ.น.เงิน</th>
2015-05-06 05:04:00 +00:00
-->
<th style="text-align:left">ยาฉีด</th>
2015-03-13 16:31:58 +00:00
<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}}
2015-05-04 10:35:11 +00:00
<tr class="active">
2015-03-18 10:35:49 +00:00
{{else}}
2015-03-06 05:15:19 +00:00
<tr>
2015-03-18 10:35:49 +00:00
{{/if}}
2015-05-04 10:35:11 +00:00
{{#ifeq sub "show"}}
<tr class="info" style="font-weight:bold;">
{{/ifeq}}
{{#if cseq_txt}}
<th>{{date_txt}}</th>
<th>{{cseq_txt}}</th>
<td style="text-align:center">{{no}}</td>
<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>
<td><a href="/ui#name=clinic_patient_type&active_id={{tid}}&mode=form">{{tname}}</a></td>
2015-05-06 05:04:00 +00:00
<!--
2015-05-04 10:35:11 +00:00
<td style="text-align:right">{{currency fee zero=""}}</td>
2015-05-06 05:04:00 +00:00
-->
<td style="text-align:left"></td>
2015-05-04 10:35:11 +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">{{nfirst_name}}</a></td>
{{else}}
{{#ifeq sub "show"}}
<td>รวม</td>
{{else}}
<td></td>
{{/ifeq}}
<td></td>
<td style="text-align:center">{{no}}</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-05-06 05:04:00 +00:00
<!--
2015-05-04 10:35:11 +00:00
<td style="text-align:right">{{currency fee zero=""}}</td>
2015-05-06 05:04:00 +00:00
-->
<td style="text-align:left">{{mdc_name}}</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>
2015-05-04 10:35:11 +00:00
<td><a href="/ui#name=clinic_cycle_item&active_id={{ctid}}&mode=form">{{nfirst_name}}</a></td>
{{/if}}
</tr>
2015-03-06 05:15:19 +00:00
{{/each}}
</tbody>
<tfoot>
2015-05-06 05:04:00 +00:00
<th class="active">รวมผู้ป่วยทั้งหมด</th>
2015-05-04 10:35:11 +00:00
<th class="active"></th>
<th class="active">{{total_pt}}</th>
2015-05-06 09:53:47 +00:00
<th colspan="7" class="active">
{{#each ptype_lines}}
{{name}} : {{qty}} &nbsp;&nbsp;&nbsp;
{{/each}}
</th>
2015-03-06 05:15:19 +00:00
</tfoot>
</table>
2015-05-06 09:53:47 +00:00
<table class="table table-condensed table-striped" style="margin-bottom:0px;">
2015-05-04 10:35:11 +00:00
<tbody>
<tr>
{{#each vscl_lines}}
<th style="text-align:right;">{{description}} = </th>
<th style="text-align:left">{{qty}}</th>
{{/each}}
</tr>
</tbody>
</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>
2015-05-04 10:35:11 +00:00
-->