This commit is contained in:
2023-09-18 19:08:35 +00:00
parent d6bc6dde37
commit 76fe06b0df
28 changed files with 1259 additions and 1064 deletions

View File

@@ -212,8 +212,9 @@
<tr class="table-primary" v-if="reposiciones.length > 0">
<th colspan="5" class="text-center align-middle">Reposiciones</th>
</tr>
<tr v-for="clase in reposiciones" :key="`reposicion-${clase.horario_id}-${clase.profesor_id}`">
<td class="text-center align-middle">{{ clase.salon }}</td>
<tr v-for="clase in reposiciones"
:key="`reposicion-${clase.horario_id}-${clase.profesor_id}`">
<td class="text-center align-middle">{{ clase.reposicion_salon }}</td>
<td class="text-center align-middle">
<div class="col-12">
{{ clase.profesor_nombre }}
@@ -226,7 +227,7 @@
</button>
</div>
<td class="text-center align-middle">
{{ clase.reposicion_hora?.slice(0, 5) }} - {{ clase.horario_fin?.slice(0, 5) }}
{{ clase.reposicion_hora?.slice(0, 5) }} - {{ clase.reposicion_fin?.slice(0, 5) }}
</td>
<td class="text-center align-middle text-nowrap">
<!-- data-toggle="button" -->
@@ -792,7 +793,7 @@
return store.profesor_selected.es_reposicion
? this.reposiciones.find(clase => clase.horario_id == store.profesor_selected.horario_id && clase.profesor_id == store.profesor_selected.profesor_id) ?? false
: this.clases.find(clase => clase.horario_id == store.profesor_selected.horario_id && clase.profesor_id == store.profesor_selected.profesor_id) ?? false;
},
},
}).mount('#app')
</script>
</body>