
<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>Sperm Freezing Reports
                        </div>
                        <div class="actions">
<!--
                            {if $patientId}

                            <a href="{$hosturl}/controllers/{$controllname}.php?patientid={$patientId}" class="btn btn-default btn-sm">
                                <i class="fa fa-plus"></i> Add </a>
                            {else}
                            <a href="{$hosturl}/controllers/{$controllname}.php" class="btn btn-default btn-sm">
                                <i class="fa fa-plus"></i> Add </a>
                            {/if}-->

                        </div>
                    </div>
                    <div class="portlet-body">
                        <input type="hidden" id="patientId" value="{$patientId}">
                        <table class="table table-striped table-bordered table-hover" id="sample_3">
                            <thead>
                                <tr>

                                    <th>Report Name </th>
                                    <th>Date</th>
                                    <th width="5%">Print</th>

                                </tr>
                            </thead>
                            <tbody>

                                {foreach $spermfreezingreport as $single}
                                <tr class="odd gradeX">

                                    <td><a href="{$hosturl}/controllers/spermfreezing.php?ac=edit&id={$single.id}&patientid={$single.patient_id}" target="_blank" class="showInst" data-print="no" data-intId="{$single.spermfreezingreport_id}">Sperm Freezing Report</a></td>
                                    <td><a href="{$hosturl}/controllers/spermfreezing.php?ac=edit&id={$single.id}&patientid={$single.patient_id}" target="_blank" class="showInst" data-print="no" data-intId="{$single.id}">{$single.date}</a></td>

                                    <td><a href="#" class="btn btn-default btn-xs printReportOfFreezing" data-print="yes" data-intId="{$single.id}" data-patientId="{$single.patient_id}"><i class="fa fa-print"></i> Print </a></td>


                                </tr>

                                {/foreach}
                                {foreach $embryologyreport as $single}
                                <tr class="odd gradeX">

                                    <td><a href="{$hosturl}/controllers/embryology.php?ac=edit&id={$single.id}&patientid={$single.patient_id}" target="_blank" class="showInst" data-print="no" data-intId="{$single.id}">Embryology Report Report</a></td>
                                    <td><a href="{$hosturl}/controllers/embryology.php?ac=edit&id={$single.id}&patientid={$single.patient_id}" target="_blank" class="showInst" data-print="no" data-intId="{$single.embryologyreport_id}">{$single.date}</a></td>

                                    <td><a href="#" class="btn btn-default btn-xs printReportOfembryology" data-print="yes" data-intId="{$single.id}" data-patientId="{$single.patient_id}"><i class="fa fa-print"></i> Print </a></td>


                                </tr>

                                {/foreach}
                            </tbody>

                        </table>
                        <div id="printDiv"></div>
                    </div>
                </div>
            </div>
        </div>
        <input type="hidden" id="spermfreez" value="1">

        <!-- <div  class="">

             <div class="modal fade" tabindex="-1" role="dialog" aria-hidden="false" data-backdrop="static" data-keyboard="false"   id="instDetail">
                 <div class="modal-dialog  modal-lg wds50">
                     <div class="modal-content">
                         <div class="modal-header">
                             <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                             <h4 class="modal-title">  </h4>
                         </div>
                         <div class="modal-body">
                             <div class="portlet-body form">
                                 <div class="row">
                                     <div class="col-md-12">
                                         <div class="portlet blue-hoki box" id="printIns">
                                             <div class="portlet-title">
                                                 <div class="caption bold">   </div>
                                             </div>
                                             <div class="portlet-body">
                                                 <div id="instPrint">


                                                 </div>
                                             </div>
                                         </div>
                                     </div>
                                     <div class="modal-footer">
                                         <button type="button" class="btn default showInst1" id="printtt">  Print  </button>
                                         <button type="button" class="btn default" id="closemodel" data-dismiss="modal"> Close</button>

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

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




