fix(classrooms): excluir reservas pasadas de próximas clases y cursadas activas (v3.8.11)

This commit is contained in:
2026-10-26 11:20:08 -03:00
parent 452ff8098a
commit bbaab0b1d7
9 changed files with 146 additions and 40 deletions
+8 -2
View File
@@ -952,9 +952,9 @@
<tr>
<td class="text-muted">#{{ r.id }}</td>
<td>
<span class="fw-bold text-body">{{ r.start_time }}</span>
<span class="fw-bold text-body">{{ r.date_clean or r.start_time }}</span>
<span class="text-muted d-block font-monospace" style="font-size: 0.72rem;">
{{ r.start_time }} - {{ r.end_time }} hs
<i class="bi bi-clock me-1"></i>{{ r.time_clean or (r.start_time + ' - ' + r.end_time) }}
</span>
</td>
<td>
@@ -974,9 +974,15 @@
{% endif %}
</td>
<td>
{% if r.is_past %}
<span class="badge bg-secondary-subtle text-secondary border" style="font-size: 0.68rem;">
<i class="bi bi-check2-circle me-1"></i>Finalizada
</span>
{% else %}
<span class="badge bg-success-subtle text-success border border-success-subtle" style="font-size: 0.68rem;">
{{ r.status }}
</span>
{% endif %}
</td>
<td class="text-end">
<div class="btn-group btn-group-sm">