<form method="post" action="<?php echo e(route('projets.filtres')); ?>">
    <?php echo csrf_field(); ?>

    <div class="row">
        
        <div class="col-md-3">
            <div class="form-group row">
                <label for="paat" class="col-sm-4 col-form-label">PAAT</label>
                <div class="col-sm-8">
                    <select id="filtre_paat" name="paat_id" class="form-control">
                        <?php $__currentLoopData = $paats; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $id => $description): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($id); ?>" <?php if($paat_id == $id): ?> selected <?php endif; ?>><?php echo e($description); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>
            </div>
        </div>

        
        <div class="col-md-3">
            <div class="form-group row">
                <label for="direction_id" class="col-sm-4 col-form-label">Etab.</label>
                <div class="col-sm-8">
                    <select id="direction_id" name="direction_id" class="form-control">
                        <option <?php if($direction_id == null): ?> selected <?php endif; ?>></option>
                        <?php $__currentLoopData = $directions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $d): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($d->id); ?>" <?php if($direction_id == $d->id): ?> selected <?php endif; ?>><?php echo e($d->nom); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>
            </div>
        </div>

        
        <div class="col-md-3">
            <div class="form-group row">
                <label for="service_id" class="col-sm-4 col-form-label">Service</label>
                <div class="col-sm-8">
                    <select id="service_id" name="service_id" class="form-control">
                        <option <?php if($service_id == null): ?> selected <?php endif; ?>></option>
                        <?php $__currentLoopData = $directions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $d): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php $__currentLoopData = $d->services; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $s): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($d->id); ?>_<?php echo e($s->id); ?>" <?php if($direction_id . '_' . $service_id == $d->id . '_' . $s->id): ?> selected <?php endif; ?>><?php echo e($s->nom); ?></option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>
            </div>
        </div>

        
        <div class="col-md-3">
            <div class="form-group row">
                <label for="famille_id" class="col-sm-4 col-form-label">Famille</label>
                <div class="col-sm-8">
                    <select id="famille_id" name="famille_id" class="form-control">
                        <option <?php if($famille_id == null): ?> selected <?php endif; ?>></option>
                        <?php $__currentLoopData = $familles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $id => $nom): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($id); ?>" <?php if($famille_id == $id): ?> selected <?php endif; ?>><?php echo e($nom); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group">
            <button type="submit" class="btn btn-outline-primary" name="action" value="Filtrer">Filtrer</button>
            <?php if(sizeof($projets) > 0): ?>
                <button type="submit" class="btn btn-outline-primary" name="action" value="Exporter">Exporter</button>
            <?php endif; ?>
        </div>
    </div>
</form>
<?php /**PATH /var/www/html/resources/views/projets/index/layouts/filtres.blade.php ENDPATH**/ ?>