
<?php $__env->startSection('css-part'); ?>
<link rel="stylesheet" href="<?php echo e(asset('assets/css/general.panel.css')); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js-part'); ?>
<script src="<?php echo e(asset('assets/js/city.js')); ?>"></script>
<script src="<?php echo e(asset('assets/js/general.panel.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('panel'); ?>
<?php echo $__env->make('layouts.header.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php echo $__env->make('layouts.nav.nav', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('container'); ?>
<div class="container">
    <?php echo $__env->make('layouts.notification.success', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <h2 class=" text-center mt-3">لیست درخواست ها</h2>
    <form method="get" class="mt-3">
        <div class="row">
            <div class="col-12 col-md-6 col-lg-2 form-group mt-3  ms-0 ms-lg-2">
                <input type="text" class=" form-control" name="from" id="from" data-jdp value="<?php echo e(request('from')); ?>" placeholder="از تاریخ">
            </div>
            <div class="col-12 col-md-6 col-lg-2 form-group mt-3  ms-0 ms-lg-2">
                <input type="text" class=" form-control" name="to" id="to" data-jdp value="<?php echo e(request('to')); ?>" placeholder="به تاریخ">
            </div>
            <div class="col-12 col-md-6 col-lg-2 form-group mt-3 ms-0 ms-lg-2">
                <input type="text" class="form-control" name="fname" id="fname" placeholder="نام کشاورز" value="<?php echo e(request('fname')); ?>">
            </div>
            <div class="col-12 col-md-6 col-lg-2 form-group mt-3 ms-0 ms-lg-2 ">
                <input type="text" class="form-control" name="lname" id="lname" placeholder="نام خانوادگی" value="<?php echo e(request('lname')); ?>">
            </div>
            <div class="col-12 col-md-6 col-lg-3 form-group mt-3 mt-md-0 d-flex justify-content-between">
                <div class="form-group mt-3">
                    <button type="submit" class="btn btn-primary ms-0 ms-md-3">فیلتر</button>
                </div>

                <?php if(request('from') || request('to') || request('fname') || request('lname')): ?>
                <div class="form-group  mt-3">
                    <a href="<?php echo e(request()->url()); ?>" class="btn btn-outline-secondary ms-0 ms-md-2">حذف فیلتر</a>
                </div>
                <?php endif; ?>
            </div>

        </div>
    </form>
    <?php echo $__env->make('Packaging.list.table', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home1/zarborji/public_html/resources/views/Packaging/index.blade.php ENDPATH**/ ?>