<input type="hidden" id="controllName" value="adddevices"/>
<div      style="max-width: 1650px;max-height: 600px;overflow: auto;white-space: nowrap;">   
    <table class="table table-bordered table-striped table-hover " >
        <thead>
            <tr>
                <th> No </th>
                <th>  Name  </th>
                <th>  Age  </th>
                <th>  Ref.by  </th>
                <th> Date</th>
                <th> Collect </th>
                <th>  MII</th>
                <th> InJ </th>
                <th> Fert </th>
                <th>  E.T  </th>
                <th>  Date  </th>
                <th>  Verification  </th>
                <th> No.of embyo  </th>
                <th> Preg </th>
            </tr>
        </thead>
        <tbody>
            {if $resCount > 0 }
            {assign var=i value=1}
            {foreach $results as $result}
            <tr>
                <td> {$i}</td>
                <td> {$result.wifename}</td>
                <td> {$result.age}</td>
                <td> {$result.clinician_name}</td>
                <td> {$result.visitdate}</td>
                <td> {$result.no_oocyte}</td>
                <td> {$result.mii}</td>
                <td> {$result.injection}</td>
                <td> {$result.fertilized}</td>
                <td> {$result.etTxt}</td>
                <td> {$result.date_transer_embryo}</td>
                <td> {$result.no_straws}</td>
                <td> {$result.no_embryos}</td>
                <td> {$result.preg}</td>
            </tr>
            {capture assign=i}{$i+1}{/capture}
            {/foreach}
            {else}
            <tr>
                <td colspan="14">
                    No data found ...........
                </td>
            </tr>
            {/if}
        </tbody>
    </table>

</div>