<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>Archive
                        </div>
                    </div>
                    <div class="portlet-body all">
                        <div class="row">
                            <input type="hidden" id="archiveReport" value="1"/>
                            <input type="hidden" id="archivePatNo" value="{$archivePatNo}">
                            <input type="hidden" id="controllName" value="archive"/>

                            <!--div class="row">
                                <div class="portlet box grey-cascade col-md-12">
                                    <div class="portlet-title">
                                        <div class="caption">New Requests ( {$today} )  : </div>
                                        <div class="actions"></div>
                                    </div>
                                    <div class="portlet-body">
                                        <div class="row">
                                            <div class="portlet-body form border-gray2 mb-5" >
                                                <div class="row" id="newRequestsContainer">
                                                    <span class="btn btn-light">111111</span>
                                                    <span class="btn btn-light">222222</span>
                                                    <span class="btn btn-light">333333</span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix"></div>
                                    </div>
                                </div>
                            </div-->

                            <div class="row clinick posre">

                                <div class="col-md-2 wds12">
                                    <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 wds22">
                                    <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 wds22">
                                    <div class="form-group">
                                        <label class="control-label ls2">Husband Name</label>
                                        <input type="hidden" class="form-control "    id="husband"  >
                                    </div>
                                </div>

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

                                <div class="col-md-2 wds10">
                                    <div class="form-group">
                                        <label class="control-label ls2">Date Type</label>
                                        <select class="form-control select2h" id="dateType">
                                            <option value="">الكل </option>
                                            <option value="1">دخول</option>
                                            <option value="2" selected >خروج</option>
                                        </select>
                                    </div>
                                </div>

                                <a class="btn btn-primary btn-sm" id="archiveSearchBtn"  style="    margin-top: 23px;">
                                    <i class="fa fa-search"></i> Search </a>

                                <a class="btn btn-primary btn-sm" id="archiveSearchExitBtn"  style="    margin-top: 23px;">
                                    <i class="fa fa-search"></i> Exit Only  </a>
                            </div>

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

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

                                    </div>
                                </div>

                                <div class="portlet-body form" id="financialDiv">
                                </div>
                            </div>
                        </div>

                    </div>

                    <!--End Semen-->


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

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

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


<div id="talks-loading" style="z-index: 3000;position: absolute;top: 7%;right: 2%;left: 6%;display:none; height: 65%; background-color: rgba(0, 0, 0,0.27); padding-top: 10%;" align="center">
    <img src="{$hosturl}/../upload/loading.gif">
</div>


{literal}
<script type="text/javascript" >
    $(document).ready(function (e) {
        var archivePatNo = $('#archivePatNo').val();
        if (archivePatNo > 0) {
            $('#statusNoRemote').val(archivePatNo);
            $('#statusNoRemote').trigger('keyup');
        }
        //    $('#finSearchBtn').trigger('click');
    });
</script>
{/literal}


