<?php echo $__env->make('header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php 
$UserId = Session::get('UserId');
?>
<div class="container-fluid flex-grow-1 container-p-y">
    <div class="row">
        <!-- customar project  start -->
        <div class="col-xl-12">
            <div class="card">
                <div class="card-body">

                    <form method="post">
                        <h3>OT List</h3>
                                           <div class="row align-items-center m-l-0">
                             
 <div class="form-group col-md-2">
<label class="form-label">From Date </label>
<input type="date" onchange="getToDate(this.value)" id="FromDate" name="FromDate" class="form-control" value="<?php echo e(date('Y-m-d')); ?>" autocomplete="off" required>
</div>
<input type="hidden" id="ToDate" name="ToDate" class="form-control" value="<?php echo e(date('Y-m-d')); ?>" autocomplete="off" required>
<!-- <div class="form-group col-md-2">
<label class="form-label">To Date</label>
<input type="date"id="ToDate" name="ToDate" class="form-control" value="<?php echo e(date('Y-m-d')); ?>" autocomplete="off" required>
</div> -->
<input type="hidden" name="Search" value="Search">
<div class="form-group col-md-3" style="padding-top:20px;">
<button type="button" id="filter" class="btn btn-primary btn-finish" onclick="counsellingList()">Search</button>
<!-- <a href="/<?php echo e(projectUrl()); ?>searchCounsellingList" class="btn btn-secondary btn-finish">Refresh</a> -->
</div> 

</div>
</form>
                                  
                    <div class="table-responsive" id="custresult">
                  
                        
                    </div>
                </div>
            </div>
        </div>
        <!-- customar project  end -->
    </div>
</div>

<?php echo $__env->make('footerscript', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<script type="text/javascript">
    function getToDate(val){
        $('#ToDate').val(val);
    }
function counsellingList(){
    var FromDate = $('#FromDate').val();
    var ToDate = $('#ToDate').val();
    setTimeout(function() {
        window.open(
            '/<?php echo e(projectUrl()); ?>counsellingotList/'+FromDate+'/'+ToDate, 'popUpWindo1',
            'height=1000,width=1500,left=0,top=0,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no'
        );
    }, 1);
}
</script><?php /**PATH /home/gssnagpu/public_html/hospsoft.in/siddhivinaynetra/resources/views//ipd/search-ot-list.blade.php ENDPATH**/ ?>