| {{ date("d/m/Y", strtotime($record->date)) }} |
{{in_array($record->type, ['MOVE_IN','MOVE_OUT']) ? '' : ($record->commercial ? 'Commerciale' : 'Non commerciale') }} |
{{ $record->causal_name }} |
@if($record->type === 'IN'){{ $record->member->first_name }} {{ $record->member->last_name }}@elseif($record->type === 'OUT'){{ @$record->supplier->name }}@endif |
{{$record->deleted ? 'Annullata' : '' }} |
{{ in_array($record->type, ['IN','MOVE_IN']) ? formatPrice($record->amount) : '' }} |
{{ in_array($record->type, ['OUT','MOVE_OUT']) ? formatPrice($record->amount) : '' }} |
{{ in_array($record->type, ['OUT','MOVE_OUT']) ? $record->origin : '' }} |
{{in_array($record->type, ['IN','MOVE_IN']) ? $record->destination : '' }} |
{{in_array($record->type, ['MOVE_IN','MOVE_OUT']) ? '' : $record->payment_method->name }} |
@php $count++; @endphp
@endif
@endforeach
@else