<table class="table table-hover portlet light bg-inverse" id="repTable" style="width: 100%;">
    <thead>
        <tr>
            <th style="width: 10px !important;">#</th>
            <th>   Patient Name</th>
            <th >   Patient No.</th>
            <th>Refer Dr.</th>
            <th>   Date Of Triggering	</th>
            <th>   User name  </th>
        </tr>
    </thead>
    <tbody>
        {assign var="i" value="1"}
        {foreach $result as $data}
        <tr class="odd ">
            <td>{$i}</td>
            <td>
                <a href="{$hosturl}/controllers/ivf_reports.php?ac=ivf_edit&patientid={$data.patient_id}&id={$data.id}" target="_new">
                    {$data.wifename}
                </a>
            </td>
            <td>{$data.statusno}</td>
            <td> {$data.doctor}</td>
            <td>{$data.trig_date}</td>
            <td> {$data.user_name} </td>

        </tr>
        {assign var="i" value={$i+1}}
        {/foreach}
    </tbody>
</table>
