41 lines
1.4 KiB
Handlebars
41 lines
1.4 KiB
Handlebars
<center>
|
|
<h2>ตารางเวร</h2>
|
|
<h3>
|
|
{{parent_company_name}} {{company_name}}<br/>
|
|
</h3>
|
|
<h4>
|
|
{{#if has_duration}}
|
|
ระหว่างวันที่ {{date_from}} ถึง {{date_to}}
|
|
{{else}}
|
|
{{date}}
|
|
{{/if}}
|
|
</h4>
|
|
</center>
|
|
<table class="table table-condensed table-striped">
|
|
<thead>
|
|
<th>รอบ</th>
|
|
<th>#</th>
|
|
<th>ชื่อ</th>
|
|
<th>ตำแหน่ง</th>
|
|
<th>หมายเหตุ</th>
|
|
</thead>
|
|
<tbody>
|
|
{{#each lines}}
|
|
<tr>
|
|
{{#if title}}
|
|
<td style="background-color:#ddddff"><a href="/ui#name=clinic_schedule&active_id={{schedule_id}}&mode=form"><b>{{schedule_name}}</b></a></td>
|
|
<td style="background-color:#ddddff" colspan="5"></td>
|
|
{{else}}
|
|
<td style="background-color:{{cycle_color}}">{{cycle_name}}</td>
|
|
<td>{{no}}</td>
|
|
<td style="background-color:{{visit_color}}"><a href="/ui#name=clinic_staff&active_id={{nurse_id}}&mode=form">{{nurse_name}}</a></td>
|
|
<td style="background-color:{{visit_color}}"><a href="/ui#name=clinic_staff_level&active_id={{level_id}}&mode=form">{{level_name}}</a></td>
|
|
<td>{{note}}</td>
|
|
{{/if}}
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
<tfoot>
|
|
</tfoot>
|
|
</table>
|