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
+16 -1
View File
@@ -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>
@if($evento->tipo_recorrenza && $evento->tipo_recorrenza !== 'singolo')
<span class="badge badge-info">{{ $evento->periodicita_label }}</span>
@@ -52,6 +52,21 @@
@endif
</td>
</tr>
@if($evento->tipo_evento)
<tr>
<td><strong>Tipologia:</strong></td>
<td>
@php
$tipologia = \App\Models\TipologiaEvento::where('nome', $evento->tipo_evento)->first();
@endphp
@if($tipologia)
<span class="badge badge-primary">{{ $tipologia->descrizione ?: $tipologia->nome }}</span>
@else
<span class="badge badge-secondary">{{ $evento->tipo_evento }}</span>
@endif
</td>
</tr>
@endif
@if($evento->tipo_recorrenza === 'settimanale')
<tr>
<td><strong>Giorno:</strong></td>