


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

<?php $__env->startSection('content_header'); ?>
    <h1>Fichas</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 Ficha</h2>
        </div>
    </div>

    <div class="card-body">
        <form action="<?php echo e(route('fichas.store')); ?>" method="POST" >
            <?php echo csrf_field(); ?>
                <div class="row g-3">
                    <div class="col-md-6">
                        <label class="form-label" >Código:</label>
                        <input type="number" name="Codigo" class="form-control" placeholder="Nombre" required >
                    </div>
                    <div class="col-md-6">
                        <label class="form-label" >Inicio:</label>
                        <input type="date" name="fich_Inicio" class="form-control" placeholder="Nombre" required >
                    </div>
                    <div class="col-md-6">
                        <label class="form-label" >Fin:</label>
                        <input type="date" name="fich_Fin" class="form-control" placeholder="Apellido" required >
                    </div>
                    <div class="col-md-6">
                        <label class="form-label" >Etapa:</label>
                        <input type="text" name="fich_Etapa" class="form-control" placeholder="Apellido" required >
                    </div>

                    <div class="col-md-6">
                        <label class="form-label">Programa:</label>
                        <select name="Codigo_programa" class="form-select" required>
                            <option selected value=""> Elige el programa </option>
                            <?php $__currentLoopData = $programas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $programa): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($programa->prog_codigoPrograma); ?>">
                                    <?php echo e($programa->prog_Denominacion); ?>

                                </option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    </div>

                    <div class="col-md-6">
                        <label class="form-label" >Modalidad:</label>
                        <select name="Codigo_modalidad" class="form-select" required>
                            <option selected value=""> Elige la modalidad </option>
                            <?php $__currentLoopData = $modalidad; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $mod): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($mod->id); ?>">
                                    <?php echo e($mod->mod_Denominacion); ?>

                                </option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    </div>

                    <div class="col-md-6">
                        <label class="form-label" >Centro:</label>
                        <select name="Codigo_centro" class="form-select" aria-label="Default select example">
                            <option selected>Selecciona el centro</option>
                            <?php $__currentLoopData = $centros; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $centro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($centro->Codigo); ?>">
                                    <?php echo e($centro->cent_Denominacion); ?>

                                </option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    </div>

                </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/fichas/crearFicha.blade.php ENDPATH**/ ?>