| Data | Tipologia | Causale | Nominativo | Stato | Entrata | Uscita | Origine | Destinazione | Metodo di pagamento |
|---|---|---|---|---|---|---|---|---|---|
| {{date("d/m/Y", strtotime($record->date))}} | {{$record->commercial ? 'Commerciale' : 'Non commerciale'}} | {{$record->causal_name}} | {{$record->type == 'IN' ? ($record->member->first_name . " " . $record->member->last_name) : @$record->supplier->name}} | {{$record->deleted ? 'Annullata' : ''}} | {{$record->type == 'IN' ? formatPrice($record->amount) : ''}} | {{$record->type == 'OUT' ? formatPrice($record->amount) : ''}} | {{$record->type == 'OUT' ? $record->origin : ''}} | {{$record->type == 'IN' ? $record->destination : ''}} | {{$record->payment_method->name}} |
| Totale | {{$total_in > 0 ? formatPrice($total_in) : ''}} | {{$total_out > 0 ? formatPrice($total_out) : ''}} | |||||||