Reposiciones

This commit is contained in:
2023-09-05 18:53:27 +00:00
parent 2479bc4574
commit 0e400cb745
5 changed files with 88 additions and 39 deletions

View File

@@ -271,7 +271,8 @@
<td colspan="7" class="text-center">No hay clases en este horario</td>
</tr>
<tr v-for="registro in store.registros.relevant?.slice((store.current.page - 1) * store.current.perPage, store.current.page * store.current.perPage)"
:key="`${registro.registro_id}-${registro.registro_fecha_ideal}-${registro.horario_id}-${registro.profesor_id}-${registro.salon_id}`">
:key="`${registro.registro_id}-${registro.registro_fecha_ideal}-${registro.horario_id}-${registro.profesor_id}-${registro.salon_id}`"
:class="{ 'table-warning': registro.reposicion_id }">
<td class="text-center align-middle px-2">{{ registro.registro_fecha_ideal }}
</td>
<td class="text-center align-middle px-2">{{ registro.salon }}</td>
@@ -313,7 +314,8 @@
<span class="mr-2" :class="`text-${registro.estado_color}`">
<i :class="`${registro.estado_icon} ing-2x`"></i>
</span>
<strong v-if="registro.usuario_nombre">{{ registro.usuario_nombre }}</strong>
<strong v-if="registro.usuario_nombre">{{ registro.usuario_nombre
}}</strong>
</div>
<div class="col-12" v-if="registro.registro_fecha_supervisor">
Hora
@@ -452,8 +454,7 @@
</div>
<div class="col-12">
<strong>Horario:</strong>
{{ clase_vista.horario_hora?.slice(0, 5) }} - {{
clase_vista.horario_fin?.slice(0, 5) }}
{{ clase_vista.horario_hora?.slice(0, 5) }} - {{clase_vista.horario_fin?.slice(0, 5) }}
</div>
<div class="col-12">
<strong>Salón:</strong>
@@ -537,6 +538,19 @@
</strong>
</div>
</section>
<section class="col-12" v-if="clase_vista.reposicion_id">
<h4 class="h4 mt-4">Reposición</h4>
<div class="row">
<div class="col-12 text-center">
Esta clase se reprogramó para el día
{{ clase_vista.reposicion_fecha }} a las
{{ clase_vista.reposicion_hora?.slice(0, 5) }}
</div>
</div>
</section>
</div>
</div>
</div>
@@ -580,10 +594,14 @@
<br>
<div class="row">
<div class="col-12 text-center">
Justificar <strong :class="`text-${store.current.justificada.estado_color}`" class="text-uppercase">
{{store.current.justificada.nombre}}</strong> del día <span class="text-muted">{{store.current.justificada.registro_fecha_ideal}}</span> a
las <span class="text-muted">{{store.current.justificada.horario_hora?.slice(0,5)}}</span>
para el profesor <span class="text-muted">{{store.current.justificada.profesor_nombre}}</span>
Justificar <strong :class="`text-${store.current.justificada.estado_color}`"
class="text-uppercase">
{{store.current.justificada.nombre}}</strong> del día <span
class="text-muted">{{store.current.justificada.registro_fecha_ideal}}</span> a
las <span
class="text-muted">{{store.current.justificada.horario_hora?.slice(0,5)}}</span>
para el profesor <span
class="text-muted">{{store.current.justificada.profesor_nombre}}</span>
</div>
</div>
<div class="row mt-3">