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
{{-- Custom loader --}}
{{-- END Custom loader --}}
@if($isFiltering)

Caricamento dati in corso...

@endif @php $count = 0; @endphp @foreach($records as $record) @php $count++; @endphp @endforeach
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}}
@push('scripts') @endpush @push('scripts') @endpush @push('scripts') @endpush