<div class="page-content-wrapper">
    <div class="page-content">
        <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-users"></i>Operation Report
                        </div>
                    </div>
                    <div class="portlet-body all">
                        <input type="hidden" id="reportPage" value="1"/>
                        <input type="hidden" id="tdate" value="{$today}">
                        <input type="hidden" id="controllName" value="operationreport"/>
                        <input type="hidden"    id="past_search"  value="{$programesetting->past_search}">
                        <input type="hidden"    id="past_search_check"  value="1">
                        <!--Begin Semen-->

                        <div class="row">
                            <div class="row clinick posre">
                                <div class="col-md-2 wds10">
                                    <div class="form-group form-md-line-input form-md-floating-label has-info">
                                        <input type="text" class="form-control pastSearchDate txtc" id="findate" value="{$today}" readonly/>
                                        <label for="form_control_1">Date From </label>
                                    </div>
                                </div>

                                <div class="col-md-2 wds10">
                                    <div class="form-group form-md-line-input form-md-floating-label has-info">
                                        <input type="text" class="form-control datepicker txtc" id="tofindate" value="{$today}" readonly/>
                                        <label for="form_control_1">Date To </label>
                                    </div>
                                </div>

                                <div class="col-md-2 wds13">
                                    <div class="form-group">
                                        <label class="control-label ls2">Patient No</label>
                                        <input type="text"  id="statusNoRemote"  
                                               class="form-control  txtc searchPatFinal positiveNo "  data-alert="no"  >
                                    </div>
                                </div>

                                <div class="col-md-4">
                                    <div class="form-group">
                                        <label class="control-label ls2">Patient Name</label>
                                        <input type="hidden" class="form-control "    id="patientName"  >
                                    </div>
                                </div>

                                <div class="col-md-4">
                                    <div class="form-group">
                                        <label class="control-label ls2">Husband Name</label>
                                        <input type="hidden" class="form-control "    id="husband"  >
                                    </div>
                                </div>

                            </div>

                            <div class="clearfix"></div>

                            <div class="portlet box white">
                                <div class="portlet-title">
                                    <div class="actions">

                                        <a class="btn btn-primary btn-sm" id="finSearchBtn" >
                                            <i class="fa fa-search"></i> Search </a>

                                        <a class="btn btn-default btn-sm" id="printfi" >
                                            <i class="fa fa-print"></i> Print </a>

                                    </div>
                                </div>

                                <div class="portlet-body form" id="financialDiv"  style="direction: rtl;">



                                </div>

                                <div class="row">
                                    <div class="col-md-3 pull-right">
                                        <div class="form-group ">
                                            <label class="col-md-4 pull-right text-right" style="padding-right: 5px;">النائب</label>
                                            <div class="col-md-8 pull-right">
                                                <select class="form-control operation_rslt" id="nab_1_users" placeholder="أختر .. ">
                                                    <option value=""></option>
                                                    {foreach $all_users_th as $user}
                                                    {if $user.role_id eq 4}
                                                    <option value="{$user.user_id}" >{$user.name}</option>
                                                    {/if}
                                                    {/foreach}
                                                </select>
                                            </div>
                                        </div>

                                    </div>

                                    <div class="col-md-3 pull-right">
                                        <div class="form-group ">
                                            <label class="col-md-4 pull-right text-right" style="padding-right: 5px;">المعمل</label>
                                            <div class="col-md-8 pull-right">
                                                <select class="form-control operation_rslt" id="lab_1_users" placeholder="أختر .. ">
                                                    <option value=""></option>
                                                    {foreach $all_users_th as $user}
                                                    {if $user.role_id eq 12}
                                                    <option value="{$user.user_id}" >{$user.name}</option>
                                                    {/if}
                                                    {/foreach}
                                                </select>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="col-md-3 pull-right">
                                        <div class="form-group ">
                                            <label class="col-md-4 pull-right text-right" style="padding-right: 5px;">التخدير</label>
                                            <div class="col-md-8 pull-right">
                                                <select class="form-control operation_rslt" id="sleep_1_users" placeholder="أختر .. ">
                                                    <option value=""></option>
                                                    {foreach $all_users_th as $user}
                                                    {if $user.role_id eq 7}
                                                    <option value="{$user.user_id}" >{$user.name}</option>
                                                    {/if}
                                                    {/foreach}
                                                </select>
                                            </div>
                                        </div>

                                    </div>

                                    <div class="col-md-3 pull-right">
                                        <div class="form-group ">
                                            <label class="col-md-4 pull-right text-right" style="padding-right: 5px;">الجراح</label>
                                            <div class="col-md-8 pull-right">
                                                <select class="form-control operation_rslt" id="sug_1_users" placeholder="أختر .. ">
                                                    <option value=""></option>
                                                    {foreach $all_users_th as $user}
                                                    {if $user.role_id eq 4}
                                                    <option value="{$user.user_id}" >{$user.name}</option>
                                                    {/if}
                                                    {/foreach}
                                                </select>
                                            </div>
                                        </div>

                                    </div>

                                    <div class="clearfix" style="margin:  6px;"></div>
                                    <div class="col-md-3 pull-right">
                                        <div class="form-group ">
                                            <label class="col-md-4 pull-right text-right" style="padding-right: 5px;">النائب</label>
                                            <div class="col-md-8 pull-right">
                                                <select class="form-control operation_rslt" id="nab_2_users" placeholder="أختر .. ">
                                                    <option value=""></option>
                                                    {foreach $all_users_th as $user}
                                                    {if $user.role_id eq 4}
                                                    <option value="{$user.user_id}" >{$user.name}</option>
                                                    {/if}
                                                    {/foreach}
                                                </select>
                                            </div>
                                        </div>

                                    </div>

                                    <div class="col-md-3 pull-right">
                                        <div class="form-group ">
                                            <label class="col-md-4 pull-right text-right" style="padding-right: 5px;">المعمل</label>
                                            <div class="col-md-8 pull-right">
                                                <select class="form-control operation_rslt" id="lab_2_users" placeholder="أختر .. ">
                                                    <option value=""></option>
                                                    {foreach $all_users_th as $user}
                                                    {if $user.role_id eq 12}
                                                    <option value="{$user.user_id}" >{$user.name}</option>
                                                    {/if}
                                                    {/foreach}
                                                </select>
                                            </div>
                                        </div>

                                    </div>

                                    <div class="clearfix" style="margin:  6px;"></div>


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

                    </div>

                    <!--End Semen-->


                    <div class="clearfix"></div>

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

<div class="clearfix"></div>
<div id="financialPrint"></div>



{literal}
<script type="text/javascript" >
    $(document).ready(function (e) {
        //     $('#finSearchBtn').trigger('click');
    });
</script>
{/literal}
