@extends('layouts.adminlte') @section('title', 'Nuovo Messaggio') @section('page_title', 'Nuovo Messaggio Email') @section('content')

Componi Messaggio

@csrf @if(isset($senderAccounts) && $senderAccounts->count() > 0)
Seleziona un mittente per l'invio. Usa "Sistema predefinito" per inviare con l'account email principale.
@endif @if(isset($firme) && $firme->count() > 0)
Seleziona la firma da appender al messaggio.
@endif @if($individui->count() > 0)
@foreach($individui as $ind) @endforeach
Codice Nome Email
{{ $ind->codice_id }} {{ $ind->cognito }} {{ $ind->nome }} {{ $ind->contatti->where('tipo', 'email')->first()?->valore ?: 'Nessuna email' }}
{{ $individui->count() }} destinatari
@else
@endif
@if(!empty($documentiSelezionati)) @foreach($documentiSelezionati as $doc)
{{ $doc->nome_file }}
@endforeach @endif
Annulla
@endsection @section('scripts') @endsection