
<div class="row hideprint" style="margin-top: 10px;">
    <div class="col-md-12">
        <form action="" method="get">
            <div class="col-md-3">
                <div class="form-group ">
                    <input id="fromdate" placeholder="<?php echo app('translator')->getFromJson('front.datefrom'); ?>" 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-3">
                <div class="form-group">
                    <input id="todate" placeholder="<?php echo app('translator')->getFromJson('front.dateto'); ?>" 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-2">
                <div class="form-group">
                    <select id="priceType" name="priceType" class="form-control">
                        <option value=""><?php echo app('translator')->getFromJson('front.all'); ?></option>
                        <option <?php echo e(request('priceType')=='one'?'selected':''); ?> value="one"><?php echo app('translator')->getFromJson('front.Sector price'); ?> </option>
                        <option <?php echo e(request('priceType')=='multi'?'selected':''); ?> value="multi"><?php echo app('translator')->getFromJson('front.Wholesale price'); ?>  </option>
                        <option <?php echo e(request('priceType')=='gomla_gomla_price'?'selected':''); ?> value="gomla_gomla_price"><?php echo app('translator')->getFromJson('front.Wholesale Wholesale'); ?>  </option>
                    </select>
                </div>
            </div>
            <div class="col-md-2">
                <div class="form-group">
                    <?php
                        $persons = \App\Person::where('type','client')->get();
                    ?>
                    <select id="client_id" data-placeholder="<?php echo app('translator')->getFromJson('front.all'); ?>" name="client_id" class="form-control select2 " style="width:100%;">
                        <option value=""><?php echo app('translator')->getFromJson('front.all'); ?></option>
                        <?php $__currentLoopData = $persons; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $per): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option <?php echo e(request('client_id')==$per->id?'selected':''); ?> value="<?php echo e($per->id); ?>"><?php echo e($per->name); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>
            </div>
            <div class="col-md-2">
                <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')); ?>",
        });
        $(".select2").select2({allowClear: true});
    </script>
<?php $__env->stopPush(); ?>
