


<?php $__env->startSection('title', 'Vigencias'); ?>

<?php $__env->startSection('content_header'); ?>
    <h1>Vigencias</h1>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<div class="card row d-flex flex-column p-3" style="margin: 0 100px">
    <div class=" col-12">
        <div>
            <h2>Crear Vigencia</h2>
        </div>
    </div>

    <div class="card-body">
        <form action="<?php echo e(route('vigencias.store')); ?>" method="POST" >
            <?php echo csrf_field(); ?>
                <div class="row g-3">
                    <div class="col-md-6">
                        <label class="form-label" >Contrato:</label>
                        <input type="number" name="vig_Contrato" class="form-control" placeholder="Contrato" required >
                    </div>
                    <div class="col-md-6">
                        <label class="form-label" >Año:</label>
                        <input type="number" name="vig_anio" class="form-control" placeholder="Año" required >
                    </div>
                    <div class="col-md-6">
                        <label class="form-label" >Inicio:</label>
                        <input type="date" name="vig_Inicio" class="form-control" placeholder="Inicio" required >
                    </div>


                    <div class="col-md-6">
                        <label>Fin:</label>
                        <input type="date" name="vig_Fin" class="form-control" placeholder="Fin" required >
                    </div>

                    <div class="col-md-6">
                        <label>Objeto:</label>
                        
                        <textarea name="vig_Objetos" class="form-control" placeholder="Objeto"></textarea>
                    </div>

                    <div class="col-md-6">
                        <label class="form-label" >Red de Conocimiento:</label>
                        <select class="form-control" name="Codigo_red">
                            <?php $__currentLoopData = $redes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $re): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($re -> Codigo); ?>"> (<?php echo e($re -> Codigo); ?>) <?php echo e($re -> red_Denominacion); ?>  </option>
                        </select>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>

                <div class="col-xs-12 col-sm-12 col-md-12 text-center mt-2">
                    <button type="submit" class="btn btn-secondary">Crear</button>
                </div>
        </form>

    </div>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('css'); ?>
    <link rel="stylesheet" href="/css/admin_custom.css">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('js'); ?>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('adminlte::page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\SGA-V3-CRUD\resources\views/vigencias/crearVigencia.blade.php ENDPATH**/ ?>