Se crean las especificaciones de los documentos a requerir por nivel, a su vez permitir al alumno subirlos
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
<?php $__env->startSection('title',"Crear"); ?>
|
||||
|
||||
<?php $__env->startSection('content'); ?>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="card shadow mb-4">
|
||||
<div class="card-header py-3">
|
||||
<div class="d-sm-flex align-items-center justify-content-between">
|
||||
<h6 class="m-0 font-weight-bold text-primary">Editar horario</h6>
|
||||
<a href="<?php echo e(route('horario.index')); ?>" class="d-sm-inline-block btn btn-sm btn-primary shadow-sm"><i class="fas fa-download fa-sm text-white-50"></i> Regresar</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<form action="<?php echo e(route('horario.store')); ?>" method="POST">
|
||||
<?php echo csrf_field(); ?>
|
||||
<div class="mb-3">
|
||||
<label for="user_id">Seleccionar Colaborador</label>
|
||||
<select class="form-control" name="user_id" id="user_id">
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $usuarios; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<option value="<?php echo e($user->id); ?>"><?php echo e($user->name); ?></option>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $dias; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $dia): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<div class="mb-3 row">
|
||||
|
||||
<div class="col-md-3">
|
||||
<label class="small">Día</label>
|
||||
<input class="form-control"
|
||||
name="horarios[<?php echo e($index); ?>][dia]"
|
||||
value="<?php echo e($dia->translatedFormat('l')); ?>"
|
||||
readonly>
|
||||
</div>
|
||||
|
||||
<div class="col-md-8">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-3">
|
||||
<label class="small">Entrada</label>
|
||||
<input class="form-control" type="time"
|
||||
name="horarios[<?php echo e($index); ?>][entrada]">
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<label class="small">Comida salida</label>
|
||||
<input class="form-control" type="time"
|
||||
name="horarios[<?php echo e($index); ?>][comida_salida]">
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<label class="small">Comida regreso</label>
|
||||
<input class="form-control" type="time"
|
||||
name="horarios[<?php echo e($index); ?>][comida_regreso]">
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<label class="small">Salida</label>
|
||||
<input class="form-control" type="time"
|
||||
name="horarios[<?php echo e($index); ?>][salida]">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-1">
|
||||
<input type="checkbox"
|
||||
name="horarios[<?php echo e($index); ?>][activo]"
|
||||
value="1">
|
||||
<label class="small pt-5">Activo</label>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
<input class="btn btn-primary" type="submit" value="Guardar">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php echo $__env->make('layouts.landing', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\proyectos\primeros\sistemaEducativo\resources\views/horario/create.blade.php ENDPATH**/ ?>
|
||||
Reference in New Issue
Block a user