<meta charset="utf8"/>
<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row rtl artbl"  >
            <div class="col-md-12 col-sm-12">
                <div class="portlet box grey-cascade">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-cogs"></i>جميع المرضى
                        </div>
                        <div class="actions">
                            <a href="{$hosturl}/controllers/{$controllname}.php?ac=index" class="btn btn-primary btn-sm">
                                <i class="fa fa-plus"></i> إضافة جديد</a>
                        </div>

                        <div class="actions">
                            <a href="{$hosturl}/controllers/patients.php?ac=getexcel" target="_blank" class="btn btn-success btn-sm">
                                <i class="fa fa-download"></i>  Export Excel </a>
                        </div>

                        <div class="actions">
                           <a href="{$hosturl}/controllers/patients.php?ac=unfinished" target="_blank" class="btn btn-warning btn-sm">  UnFinished  Cases </a>
                        </div>
                    </div>
                    <div class="portlet-body" >
                        <table class="table table-striped table-bordered table-hover ">
                            <thead>
                                <tr>
                                    <th class="wds30">الطبيب المعالج  </th>
                                    <td>
                                        <select class="form-control select2me "   id="patDoctor1">
                                            <option value="">All</option>
                                            {foreach $py_all_doc as $data}
                                            <option value="{$data.user_id}" >{$data.name}</option>
                                            {/foreach}
                                        </select>
                                    </td>
                                </tr>
                            </thead>
                        </table>
                    </div>
                </div>
            </div>


        </div>

        <table class="table table-striped table-bordered table-hover rtl" id="patShowTb">
            <thead>
                <tr>
                    <!--th>المسلسل </th-->
                    <th>رقم الحالة</th>
                    <th>اسم الحالة</th>
                    {if $programesetting->system_lang  == 1}    <th>اسم الزوج</th>  {/if}
                    <th>العنوان </th>
                    <th>التليفون </th>
                    <th>الموبايل </th>
                    <th> تاريخ الإضافة     </th>
                    <th>BQ </th>
                    <th>QR </th>
                    <th>الكارت </th>
                    <th>تعديل </th>
                    <th>إيقاف </th>
                    {if $smarty.session.role_id neq 3}
                    <th>حذف</th>
                    {/if}
                </tr>
            </thead>
            <tbody id="delpatientnow">

            </tbody>
        </table>


    </div>
</div>


<div id="forPrint"></div>
