
<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> Oscopic
                        </div>
                        <div class="actions">
                            <div class="actions">
                            </div>
                        </div>
                    </div>
                </div>
                <input type="hidden" value="1" id="ovum_transfer">
                <div class="portlet-body">
                    <input type="hidden" id="patientId" value="{$patientId}">

                    <div class="tabbable tabbable-custom tabbable-noborder">
                        <ul class="nav nav-tabs" id="rowTab_oscopic">
                            <li class="aw_3d_list active"> <a href="#laparoscopic" data-toggle="tab"> Laparoscopic </a> </li>
                            <li class="aw_3d_list"> <a href="#hystroscopic" data-toggle="tab"> Hystrocopic </a> </li>
                            <li class="aw_3d_list"> <a href="#report" data-toggle="tab"> Report </a> </li>
                        </ul>

                        <div class="tab-content">

                            <div class="tab-pane active " id="laparoscopic">
                                <div class="row">
                                    <div class="col-md-12 ">
                                        <div class="portlet box blue">
                                            <div class="portlet-title">
                                                <div class="caption fleft">
                                                    Laparoscopic
                                                </div>
                                                <div class="actions col-md-6">
                                                    <a href="{$hosturl}/controllers/{$controllname}.php?ac=laparoscopic&patientid={$patientId}"
                                                       class="btn btn-xs blue fright">
                                                        <i class="fa fa-plus"></i> Add </a>

                                                    <a href="{$hosturl}/controllers/laparoscopic.php?ac=show"
                                                       class="btn btn-xs blue fright" style="margin-right: 5px;">
                                                        <i class="fa fa-plus"></i> Template </a>
                                                </div>
                                            </div>
                                            <div class="portlet-body form">
                                                <table class="table table-bordered table-striped table-hover ltr">
                                                    <caption class="hidden">Laparoscopic</caption>
                                                    <thead>
                                                        <tr>
                                                            <th style="width: 10%;">No</th>
                                                            <th >Date</th>
                                                            <th style="width: 10%;">Print</th>
                                                            <th style="width: 10%;">Edit</th>
                                                            <th style="width: 10%;">Delete</th>
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                        {assign var=h value=1}
                                                        {foreach $patient_laparoscopic as $item}
                                                        <tr class="odd gradeX">
                                                            <td>{$h}</td>
                                                            <td><a href="#" class="showInst" data-print="no" data-intId="">{$item->created_at|date_format}</a></td>
                                                            <td>
                                                                <a href="{$hosturl}/controllers/{$controllname}.php?ac=laparoscopicPrint&id={$item->id}&patientid={$patientId}" target="_blank" class="btn purple btn-block btn-xs"><i class="fa fa-eye"></i> Print</a>
                                                            </td>
                                                            <td>
                                                                <a href="{$hosturl}/controllers/{$controllname}.php?ac=laparoscopicEdit&id={$item->id}&patientid={$patientId}" class="btn green btn-block btn-xs"><i class="fa fa-pencil"></i> Edit</a>
                                                            </td>
                                                            <td>
                                                                <a class="btn grey-cascade btn-xs deletemsgEX" data-tableName="patient_laparoscopic" data-id="{$item->id}" data-link="{$controllname}"  data-fn="laparoscopicDel"><i class="fa fa-times"></i>Delete </a>
                                                            </td>
                                                        </tr>
                                                        {capture assign=h}{$h+1}{/capture}
                                                        {/foreach}
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="tab-pane " id="hystroscopic">
                                <div class="row">
                                    <div class="col-md-12 ">
                                        <div class="portlet box blue">
                                            <div class="portlet-title">
                                                <div class="caption fleft">
                                                    Hystroscopic
                                                </div>
                                                <div class="actions col-md-6">
                                                    <a href="{$hosturl}/controllers/{$controllname}.php?ac=hystroscopic&patientid={$patientId}"
                                                       class="btn btn-xs blue fright">
                                                        <i class="fa fa-plus"></i> Add </a>
                                                    <a href="{$hosturl}/controllers/hystroscopic.php?ac=show"
                                                       class="btn btn-xs blue fright" style="margin-right: 5px;">
                                                        <i class="fa fa-plus"></i> Template </a>
                                                </div>
                                            </div>
                                            <div class="portlet-body form">
                                                <table class="table table-bordered table-striped table-hover ltr">
                                                    <caption class="hidden">Hystroscopic</caption>
                                                    <thead>
                                                    <tr>
                                                        <th style="width: 10%;">No</th>
                                                        <th >Date</th>
                                                        <th style="width: 10%;">Print</th>
                                                        <th style="width: 10%;">Edit</th>
                                                        <th style="width: 10%;">Delete</th>
                                                    </tr>
                                                    </thead>
                                                    <tbody>
                                                    {assign var=h value=1}
                                                    {foreach $patient_hystroscopic as $item}
                                                    <tr class="odd gradeX">
                                                        <td>{$h}</td>
                                                        <td><a href="#" class="showInst" data-print="no" data-intId="">{$item->created_at|date_format}</a></td>
                                                        <td>
                                                            <a href="{$hosturl}/controllers/{$controllname}.php?ac=hystroscopicPrint&id={$item->id}&patientid={$patientId}" target="_blank" class="btn purple btn-block btn-xs"><i class="fa fa-eye"></i> Print</a>
                                                        </td>
                                                        <td>
                                                            <a href="{$hosturl}/controllers/{$controllname}.php?ac=hystroscopicEdit&id={$item->id}&patientid={$patientId}" class="btn green btn-block btn-xs"><i class="fa fa-pencil"></i> Edit</a>
                                                        </td>
                                                        <td>
                                                            <a class="btn grey-cascade btn-xs deletemsgEX" data-tableName="patient_hystroscopic" data-id="{$item->id}" data-link="{$controllname}"  data-fn="hystroscopicDel"><i class="fa fa-times"></i>Delete </a>
                                                        </td>
                                                    </tr>
                                                    {capture assign=h}{$h+1}{/capture}
                                                    {/foreach}
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="tab-pane " id="report">
                                <div class="row">
                                    <div class="col-md-12 ">
                                        <div class="portlet box blue">
                                            <div class="portlet-title">
                                                <div class="caption fleft">
                                                    Report
                                                </div>
                                                <div class="actions col-md-6">
                                                    <a href="{$hosturl}/controllers/{$controllname}.php?ac=report&patientid={$patientId}"
                                                       class="btn btn-xs blue fright">
                                                        <i class="fa fa-plus"></i> Add </a>
                                                </div>
                                            </div>
                                            <div class="portlet-body form">
                                                <table class="table table-bordered table-striped table-hover ltr">
                                                    <caption class="hidden">Report</caption>
                                                    <thead>
                                                    <tr>
                                                        <th style="width: 10%;">No</th>
                                                        <th >Date</th>
                                                        <th style="width: 10%;">Print</th>
                                                        <th style="width: 10%;">Edit</th>
                                                        <th style="width: 10%;">Delete</th>
                                                    </tr>
                                                    </thead>
                                                    <tbody>
                                                    {assign var=h value=1}
                                                    {foreach $oscopic_report as $item}
                                                    <tr class="odd gradeX">
                                                        <td>{$h}</td>
                                                        <td><a href="#" class="showInst" data-print="no" data-intId="">{$item->created_at|date_format}</a></td>
                                                        <td>
                                                            <a href="{$hosturl}/controllers/{$controllname}.php?ac=reportPrint&id={$item->id}&patientid={$patientId}" target="_blank" class="btn purple btn-block btn-xs"><i class="fa fa-eye"></i> Print</a>
                                                        </td>
                                                        <td>
                                                            <a href="{$hosturl}/controllers/{$controllname}.php?ac=reportEdit&id={$item->id}&patientid={$patientId}" class="btn green btn-block btn-xs"><i class="fa fa-pencil"></i> Edit</a>
                                                        </td>
                                                        <td>
                                                            <a class="btn grey-cascade btn-xs deletemsgEX" data-tableName="patient_report" data-id="{$item->id}" data-link="{$controllname}"  data-fn="reportDel"><i class="fa fa-times"></i>Delete </a>
                                                        </td>
                                                    </tr>
                                                    {capture assign=h}{$h+1}{/capture}
                                                    {/foreach}
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>

</div>



