<center>
    <h2>ตารางการรักษาผู้ป่วย</h2>
    <h3>
        {{parent_company_name}}&nbsp;{{company_name}}<br/>
    </h3>
    <h4>
        ประจำวันที่  {{date}}
    </h4>
</center>
<table class="table table-hover">
    <thead>
        <th>รอบ</th>
        <th>No</th>
        <th>ชื่อ-นามสกุล</th>
        <th>แพทย์</th>
        <th>สิทธิ์</th>
        <th>จำนวนเงิน</th>
        <th>RC.No</th>
        <th>H</th>
        <th>DZ</th>
        <th>N/U</th>
        <th>พยาบาล</th>
        <th>หมายเหตุ</th>
    </thead>
    <tbody>
        {{#each lines }}
            <tr style="background-color: {{success_color}}">
                <td style="background-color: {{cycle_color}}">{{cycle_name}}</td>
                <td>{{no}}</td>
                <td><a href="/ui#name=clinic_patient&active_id={{patient_id}}&mode=form">{{patient_name}}</a></td>
                <td><a href="/ui#name=clinic_staff&active_id={{doctor_id}}&mode=form">{{doctor_name}}</a></td>
                <td>{{patient_type}}</td>
                <td>{{currency fee_amount}}</td>
                <td>-</td>
                <td><a href="/ui#name=clinic_hd_case&active_id={{hd_case_id}}&mode=form">{{hd_case_number}}</a></td>
                <td><a href="/ui#name=clinic_dialyzer&active_id={{dlz_id}}&mode=form">{{dlz_number}}</a></td>
                <td>-</td>
                <td>-</td>
                <td>{{note}}</td>
            </tr>
        {{/each}}
    </tbody>
    <tfoot>
    </tfoot>
</table>