<div class="modal fade" tabindex="-1" role="dialog" aria-hidden="false" data-backdrop="static" data-keyboard="false" 
     id="knownPatModel" style="min-width:1000px;">
    <div class="modal-dialog  modal-lg wds90">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close closeDrug" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title txtc"> {$knownfromName} </h4>
            </div>
            <div class="modal-body">
                <div class="portlet-body form">
                    <form class="form-horizontal" role="form" action="" method="post" id="gynaDrugs" enctype="multipart/form-data">
                        <div class="row">
                            <div class="col-md-12">
                                <div class="portlet blue-hoki box">

                                    <div class="portlet-body  scroll_y showNum isheight">
                                        <table class="table table-hover portlet light bg-inverse rtl" id="repTable" style="width: 100%;">
                                            <thead>
                                                <tr>
                                                    <th  style="width: 10px !important;">#</th>
                                                    <th class="txtc" >  رقم  المريض</th>
                                                    <th class="txtc" >  اسم المريضة</th>
                                                    <th class="txtc" >  اسم الزوج </th>
                                                    <th class="txtc">    العنوان   </th>
                                                    <th class="txtc"> الموبايل 1 </th>
                                                    <th class="txtc"> الموبايل 2 </th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                {assign var="i" value="1"}
                                                {foreach $patients as $patient}
                                                <tr>
                                                    <td>{$i}</td>
                                                    <td> {$patient.statusno}</td>
                                                    <td><a     href="{$hosturl}/controllers/patients.php?ac=edit&id={$patient.patient_id}"  target="_blank" >
                                                            {$patient.wifename} </a>
                                                    </td>
                                                    <td><a    href="{$hosturl}/controllers/patients.php?ac=edit&id={$patient.patient_id}"   target="_blank">
                                                            {$patient.husdandname}</a>
                                                    </td>
                                                    <td > {$patient.address}  </td>
                                                    <td> {$patient.phone}</td>
                                                    <td> {$patient.mobile}</td>
                                                </tr>
                                                {assign var="i" value={$i+1}}
                                                {/foreach}
                                            </tbody>
                                        </table>



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