Emails

@if(!$showForm) @endif


{{-- LISTA MESSAGGI --}} {{-- FORM MESSAGGIO --}}
@if ($error) @endif @if ($success) @endif
{{-- Oggetto --}}

Oggetto

@error('subject')
{{ $message }}
@enderror
{{-- Messaggio (CKEditor → content_html) --}}

Messaggio

@error('content_html')
{{ $message }}
@enderror
{{-- Destinatari (selezionati) --}}

Destinatari

@if (empty($recipients)) Nessun destinatario selezionato @else @foreach ($recipients as $r) @php $fullName = trim(($r['last_name'] ?? '').' '.($r['first_name'] ?? '')); @endphp
{{ $fullName !== '' ? $fullName : '—' }} ({{ $r['email_address'] }})
@endforeach @endif
@error('recipients')
{{ $message }}
@enderror
@if(!$locked)
@endif
{{-- FILTRI + TABELLA DESTINATARI --}} {{-- Allegati --}}

Allegati

Formati: pdf, docx, jpg, png @error('newAttachments.*')
{{ $message }}
@enderror @if(!empty($existingAttachments))
    @foreach($existingAttachments as $att)
  • @if(!empty($att['img']) && !empty($att['url'])) @else @endif
    @if(!empty($att['url'])) {{ $att['name'] }} @else {{ $att['name'] }} @endif @if(!empty($att['size'])) ({{ $att['size'] }}) @endif
    @unless($locked) @endunless
  • @endforeach
@endif {{-- File appena selezionati (non salvati) --}} @if(is_array($newAttachments) && count($newAttachments))
    @foreach($newAttachments as $idx => $tmp)
  • {{ $tmp->getClientOriginalName() }} ({{ number_format($tmp->getSize()/1024,1) }} KB) — non ancora salvato
  • @endforeach
@endif
{{-- Opzioni invio --}}

Opzioni di Invio

@if(!$locked && $mode === 'schedule')
@error('schedule_at')
{{ $message }}
@enderror
@endif
@if(!$locked) Annulla @if($mode==='now') @else @endif @else Torna indietro @endif
@if (session()->has('success')) @endif @if (session()->has('error')) @endif @push('scripts') @endpush @push('scripts') {{-- CKEditor --}} {{-- END CKEditor --}} @endpush