<center> <h2>รายชื่อผู้ป่วยรับใหม่</h2> <h3> {{parent_company_name}} {{company_name}}<br/> </h3> <h4> {{#if is_duration}} ระหว่างวันที่ {{from}} ถึง {{to}} {{else}} ประจำเดือน {{month}} {{year}} {{/if}} </h4> </center> {{#if lines}} <table class="table"> <thead> <th>#</th> <th>วันที่</th> <th>ชื่อ</th> <th>หมายเหตุ</th> </thead> <tbody> {{#each lines}} <tr> <td>{{no}}</td> <td>{{reg_date}}</td> <td> {{view "link" string=name action="clinic_patient" action_options="mode=form" active_id=pid}} </td> <td>{{note}}</td> </tr> {{/each}} </tbody> <tfoot> </tfoot> </table> {{else}} No items to display. {{/if}}