Prima nota

@foreach($records as $record) @endforeach
Data Persona/Fornitore Ingresso/Uscita Importo Causale Pagamento
{{date("d/m/Y", strtotime($record->date))}} {{$record->type == 'IN' ? $record->member->first_name . ' ' . $record->member->last_name : $record->supplier->name}} {!! $record->type == 'IN' ? 'Ingresso' : 'Uscita' !!} € {{$record->amount}} {{$record->causal->getTree()}} {{$record->payment_method->name}}