Prima nota

Utente
Causale
Periodo
@if($selectedPeriod === 'GIORNO_PERSONALIZZATO')
@if($showDayPicker)
Seleziona Giorno
@php $months = [ '01' => 'Gen', '02' => 'Feb', '03' => 'Mar', '04' => 'Apr', '05' => 'Mag', '06' => 'Giu', '07' => 'Lug', '08' => 'Ago', '09' => 'Set', '10' => 'Ott', '11' => 'Nov', '12' => 'Dic' ]; $currentMonth = $selectedDay ? substr($selectedDay, 5, 2) : date('m'); $currentYear = $selectedDay ? substr($selectedDay, 0, 4) : date('Y'); @endphp @foreach($months as $monthNum => $monthName)
@endforeach
@endif
@if($selectedDay && $selectedPeriod === 'GIORNO_PERSONALIZZATO')
Giorno selezionato:
{{ \Carbon\Carbon::createFromFormat('Y-m-d', $selectedDay)->locale('it')->isoFormat('dddd, D MMMM YYYY') }}
@endif @endif @if($selectedPeriod === 'MESE_PERSONALIZZATO')
@if($showMonthPicker)
Seleziona Mese
@php $months = [ '01' => 'Gen', '02' => 'Feb', '03' => 'Mar', '04' => 'Apr', '05' => 'Mag', '06' => 'Giu', '07' => 'Lug', '08' => 'Ago', '09' => 'Set', '10' => 'Ott', '11' => 'Nov', '12' => 'Dic' ]; $currentMonth = $selectedMonth ?: date('Y-m'); @endphp @foreach($months as $monthNum => $monthName)
@endforeach
@endif
@if($selectedMonth && $selectedPeriod === 'MESE_PERSONALIZZATO')
Periodo selezionato:
{{ \Carbon\Carbon::createFromFormat('Y-m', $selectedMonth)->locale('it')->isoFormat('MMMM YYYY') }}
@endif @endif
Metodo di pagamento
Origine
Destinazione
{{-- Custom loader --}}
{{-- END Custom loader --}}
@if($isFiltering)

Caricamento dati in corso...

@endif @php $count = 0; @endphp @if (!empty($records)) @foreach($records as $record) @if($record->date != '') @php $bg = $count % 2 == 0 ? 'white' : '#f2f4f7'; @endphp @php $count++; @endphp @endif @endforeach @else @endif @if($total_in > 0 || $total_out > 0) @endif
Data Tipologia Causale Nominativo Stato Entrata Uscita Origine Destinazione Metodo di pagamento
{{ 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 }}
Nessun dato presente
Totale {{$total_in > 0 ? formatPrice($total_in) : ''}} {{$total_out > 0 ? formatPrice($total_out) : ''}}
@push('scripts') @endpush @push('scripts') @endpush @push('scripts') @endpush