modifiche siderbar e correzioni

This commit is contained in:
2026-05-26 12:28:39 +02:00
parent f088dba4bf
commit 85dd9c2ee6
119 changed files with 14461 additions and 42 deletions
@@ -43,7 +43,7 @@
<div class="card-body">
<table class="table table-sm table-borderless mb-0">
<tr>
<td style="width: 150px;"><strong>Tipo:</strong></td>
<td style="width: 150px;"><strong>Ricorrenza:</strong></td>
<td>
<?php if($evento->tipo_recorrenza && $evento->tipo_recorrenza !== 'singolo'): ?>
<span class="badge badge-info"><?php echo e($evento->periodicita_label); ?></span>
@@ -52,6 +52,21 @@
<?php endif; ?>
</td>
</tr>
<?php if($evento->tipo_evento): ?>
<tr>
<td><strong>Tipologia:</strong></td>
<td>
<?php
$tipologia = \App\Models\TipologiaEvento::where('nome', $evento->tipo_evento)->first();
?>
<?php if($tipologia): ?>
<span class="badge badge-primary"><?php echo e($tipologia->descrizione ?: $tipologia->nome); ?></span>
<?php else: ?>
<span class="badge badge-secondary"><?php echo e($evento->tipo_evento); ?></span>
<?php endif; ?>
</td>
</tr>
<?php endif; ?>
<?php if($evento->tipo_recorrenza === 'settimanale'): ?>
<tr>
<td><strong>Giorno:</strong></td>