<table class="table table-condensed table-striped"> <thead class="scroll-header"> <th>#</th> <th>วันที่</th> <th>รอบ</th> <th>HN</th> <th>ผู้ป่วย</th> <th>สิทธ์</th> <th>แพทย์</th> <th>หมายเหตุ</th> </thead> <tbody> {{#each lines }} <tr> <td>{{no}}</td> <td><a href="/ui#name=clinic_visit&active_id={{vid}}&mode=form">{{date}}</a></td> <td><a href="/ui#name=clinic_cycle&active_id={{cid}}&mode=form">{{cname}}</a></td> <td>{{hn}}</td> <td><a href="/ui#name=clinic_patient&active_id={{pid}}&mode=form">{{pname}}</a></td> <td><a href="/ui#name=clinic_patient&active_id={{tid}}&mode=form">{{tname}}</a></td> <td><a href="/ui#name=clinic_staff&active_id={{did}}&mode=form">{{dname}}</a></td> <td style="background-color:{{visit_color}}">{{note}}</td> </tr> {{/each}} </tbody> <tfoot> </tfoot> </table>