<?php $__env->startSection('titulo'); ?>
Gestión de Vacaciones
<?php $__env->stopSection(); ?>

<?php $__env->startSection("styles"); ?>
<link href="<?php echo e(asset("assets/js/bootstrap-fileinput/css/fileinput.min.css")); ?>" rel="stylesheet" type="text/css"/>
<?php $__env->stopSection(); ?>

<?php $__env->startSection("scriptsPlugins"); ?>
<script src="<?php echo e(asset("assets/js/bootstrap-fileinput/js/fileinput.min.js")); ?>" type="text/javascript"></script>
<script src="<?php echo e(asset("assets/js/bootstrap-fileinput/js/locales/es.js")); ?>" type="text/javascript"></script>
<script src="<?php echo e(asset("assets/js/bootstrap-fileinput/themes/fas/theme.min.js")); ?>" type="text/javascript"></script>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('contenido'); ?>
<div class="row">
    <div class="col-lg-12">
        <?php echo $__env->make('includes.mensaje', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php echo $__env->make('includes.form-error', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <div class="box box-danger">
            <div class="box-header with-border">
                <h3 class="box-title">Editar <?php echo e($data->permiso_ddi); ?></h3>
                <br>
                <h3 class="box-title">Esta página permite EDITAR la solicitud de permiso del Departamento.</h3>
                <a href="<?php echo e(route('permiso_ddi')); ?>" class="btn btn-info btn-sm pull-right">Volver al listado</a>
            </div>
            <form action="<?php echo e(route('actualizar_permiso_ddi', $data->id)); ?>" id="form-general" class="form-horizontal" method="POST" autocomplete="off" enctype="multipart/form-data">
                <?php echo csrf_field(); ?> <?php echo method_field("put"); ?>
                <div class="box-body">
                    
                <!-- Seleccion STATUS PERMISO  -->                    
                        <div class="form-group">
                        <label for="year" class="col-lg-3 control-label requerido"> STATUS DE LA SOLICITUD </label>
                        <div class="col-lg-8">   
                            <select name="status" class="form-control">
                  <?php $__currentLoopData = $status_ddiCreate; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $usuario): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                  <option value="<?php echo e($usuario->id); ?>" 
                    <?php if($usuario->id == $data->status): ?>
                    selected="selected"
                    <?php endif; ?>>
                    <?php echo e($usuario->status_permiso); ?></option>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>               
                </select>
                            
                            
                        </div>
                    </div> 
                <!-- Fin seleccion STATUS PERMISO -->

                    <?php echo $__env->make('permiso_ddi.form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <!-- invoca al archivo form.blade.php -->
                </div>                
                <div class="box-footer">
                    <div class="col-lg-3"></div>
                    <div class="col-lg-6">
                        <?php echo $__env->make('includes.boton-form-editar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make("theme.$theme.layout", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Laravel\gestión vacaciones\gestion_vacaciones\resources\views/permiso_ddi/editar.blade.php ENDPATH**/ ?>