<?php $__env->startSection('content'); ?>
    <div class="container">
                <h2 class="display-4">Filtrar Propostas</h2>
                <form action="<?php echo e(route('relatorio.search')); ?>" method="POST">
                <?php echo csrf_field(); ?>
                <div class="row">
                    <div class="col">
                        <label for="">Consultor</label>
                        <select class="form-control" name="consultor">
                            <option value="" disabled="disabled" selected>Escolha o Consultor</option>
                            <option value="">Todos</option>
                            <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($user->name); ?>"><?php echo e($user->name); ?></option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    </div>
                    <div class="col">
                        <label for="">Status</label>
                        <select class="form-control" name="status">
                            <option value="" disabled="disabled" selected>Escolha o Status</option>
                            <option value="">Todos</option>
                            <?php $__currentLoopData = $statuses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $status): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($status->status); ?>"><?php echo e($status->status); ?></option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    </div>
                </div>
                <br>
                <div class="row">
                    <div class="col">
                        <label for="">Período</label>
                        <div class="input-group mb-3">
                            <div class="input-group-prepend">
                              <span class="input-group-text" id="basic-addon1"><i class="far fa-calendar-alt"></i></span>
                            </div>
                            <input class="form-control" type="text" name="periodo" id="demo"/>
                        </div>
                    </div>
                    <div class="col">
                        <label for="">Marca</label>
                        <select class="form-control" name="marca">
                            <option value="" disabled="disabled" selected>Escolha a Marca</option>
                            <option value="">Todas</option>
                            <?php $__currentLoopData = $marcas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $marca): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($marca->marca); ?>"><?php echo e($marca->marca); ?></option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    </div>
                </div>
                <br>
                    <div class="row">
                        <div class="col">
                            <button type="submit" class="btn btn-primary"><i class="fas fa-search"></i> Procurar</button>
                        </div>
                    </div>
                </form>
        <hr>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/vendascnvw/public_html/propostas/resources/views/relatorio.blade.php ENDPATH**/ ?>