
<div class="page-content-wrapper">
    <div class="page-content all">
        <div class="row">
            <div class="col-md-12">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->




                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-cogs"></i>Gyna Ultrasound Scan Report
                        </div>
                        <div class="actions">
                            <a href="{$hosturl}/controllers/ultrasoundgyna.php?ac=add&patientid={$patientid}" class="btn btn-default btn-sm">
                                <i class="fa fa-plus"></i> Add </a>

                        </div>
                    </div>
                    <input type="hidden" id="ultrasoundgynaPage" value="1"/>
                    <input type="hidden" id="patientId" value="{$patientid}">
                    <input type="hidden" id="controllName" value="ultrasoundgyna"/>

                    <div class="portlet-body">
                        <div style="margin: 0px 10px;">
                            <table class="table table-striped table-bordered table-hover" id="sample_3">
                                <thead>
                                    <tr>

                                        <th width="7%">No</th>
                                        <th>Patient Name</th>
                                        <th width="5%">Show</th>
                                        <th width="5%">Delete</th>

                                    </tr>
                                </thead>
                                <tbody>
                                    {if !empty($allultra)}
                                    {assign var=m value=1}
                                    {foreach $allultra as $single}

                                    <tr class="odd gradeX">

                                        <td>{$m}</td>

                                        <td>{$single->pname}</td>
                                        <td>
                                            <a href="{$hosturl}/controllers/ultrasoundgyna.php?ac=show&patientid={$patientid}&id={$single.id}" class="btn green btn-block btn-xs"><i class="fa fa-pencil"></i> Show</a>
                                        </td>

                                        <td>
                                            <a class="btn grey-cascade btn-xs delMsg" data-id="{$single.id}"><i class="fa fa-times"></i>Delete </a>
                                        </td>


                                    </tr>
                                    {capture assign = m}{$m+1}{/capture}
                                    {/foreach}

                                    {/if}
                                </tbody>

                            </table>
                        </div>
                        <!-- <input type="hidden" name="id" value="{$operativedetails.id}">-->
                    </div>
                </div>
            </div>
        </div>




