
<div class="row hideprint" style="margin-top: 10px;">
    <div class="col-md-12">
        <form action="" method="get">
            <?php if(request()->has('account_statement')): ?>
                <input type="hidden" name="account_statement" value="yes"/>
            <?php endif; ?>
            <div class="col-md-4">
                <div class="form-group ">
                    <label><?php echo app('translator')->getFromJson('front.datefrom'); ?></label>
                    <input autocomplete="off" style="direction: rtl;" name="fromdate" value="<?php echo e(request()->fromdate); ?>" type="text" class="form-control datepicker">
                </div>
            </div>
            <div class="col-md-4">
                <div class="form-group">
                    <label><?php echo app('translator')->getFromJson('front.dateto'); ?></label>
                    <input autocomplete="off" style="direction: rtl;" name="todate" value="<?php echo e(request()->todate); ?>" type="text" class="form-control datepicker">
                </div>
            </div>
            <div class="col-md-4">
                <label> </label>
                <button  type="submit" class="btn btn-primary form-control"><?php echo app('translator')->getFromJson('front.search'); ?></button>
            </div>


        </form>
    </div>
</div>
<?php $__env->startPush('js'); ?>
    <script>
        $('.datepicker').datepicker({
            autoclose: true,
            rtl: true,
            format: 'yyyy-mm-dd',
            language: "<?php echo e(\Session::get('locale')); ?>",
        });
        /*  $(document).on('change','.todate,.fromdate',function(e){
              e.preventDefault();
              alert();
              let todate = $('.todate').val();
              let fromdate = $('.fromdate').val();
          });*/
    </script>
<?php $__env->stopPush(); ?>
