<!--------------------------------------------------------------------------- simple form Ultrasound Model-------------------------------------------------------------------------------------->
<div class="modal fade" tabindex="-1" role="dialog" aria-hidden="false" data-backdrop="static" data-keyboard="false"   
     id="patDetailsModal" style="min-width:1000px;">
    <div class="modal-dialog  modal-lg wds90">
        <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 rtl">

                                <div class="portlet-title">
                                    <div class="caption fright">  {$govName}   -    
                                        {if $centerId > 0 }  {$centerName}   {else} لا يوجد     {/if}
                                    </div>
                                    <div class="actions"></div>
                                </div>
                                <div class="portlet-body scroll_y showNumGyna">

                                    <table class="table table-striped table-hover table-bordered" >
                                        <thead>
                                            <tr>
                                                <th>م</th>
                                                <th>رقم الحالة</th>
                                                <th> اسم الزوجة  </th>
                                                <th> اسم الزوج   </th>
                                                <th> تاريخ الإضافة     </th>
                                                <th> العنوان     </th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            {assign var=i value=1}
                                            {foreach $patients  as $patient }
                                            <tr>
                                                <td> {$i}</td>
                                                <td>
                                                    <a href="{$hosturl}/controllers/patients.php?ac=edit&id={$patient.patientId}" target="_new">
                                                        {$patient.statusno}
                                                    </a>
                                                </td>
                                                <td> 
                                                    <a href="{$hosturl}/controllers/patients.php?ac=edit&id={$patient.patientId}" target="_new">
                                                        {$patient.wifename}
                                                    </a>
                                                </td>
                                                <td> 
                                                    <a href="{$hosturl}/controllers/patients.php?ac=edit&id={$patient.patientId}" target="_new">
                                                        {$patient.husdandname}
                                                    </a>
                                                </td>
                                                <td> {$patient.entryDate}</td>
                                                <td> {$patient.address}</td>
                                            </tr>
                                            {capture assign=i}{$i+1}{/capture}
                                            {/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>
                </div>
            </div>
        </div>

    </div>
</div>