@if(!$add && !$update)

@if(!$add && !$update)Elenco Entrate @else Inserimento/modifica entrata @endif

@if(!$add && !$update)

Registra
Nuova Entrata

@endif
@foreach($datas as $record) @endforeach
Data pagamento Importo Nome Cognome Causale Pagamento ...
{{date("d/m/Y", strtotime($record->date))}} {{formatPrice($record->getTotal())}} {{$record->first_name}} {{$record->last_name}} @foreach($record->rows as $row) {{$row->causal->getTree()}}
@endforeach
{{$record->payment_method->name}}
@else @if (session()->has('error')) @endif

{{$add ? 'Nuova' : 'Modifica'}} Entrata

Tipologia
Data pagamento
 
Persona @error('member_id')
{{ $message }}
@enderror

@if($this->member) {{$this->member->first_name}} {{$this->member->last_name}} {!! !$this->member->isAdult() ? ' MINORENNE' : '' !!}
Codice fiscale : {{$this->member->fiscal_code}}
Email : {{$this->member->email}}
Borsellino virtuale {{number_format($virtual, 2, ".", "")}} €
@if(sizeof($this->member->certificates) > 0) @php $cert = $this->member->certificates[0] @endphp @if($cert->expire_date < date("Y-m-d")) Certificato medico scaduto @endif @endif @endif
Pagamento
@error('payment_method_id')
{{ $message }}
@enderror
@foreach($rows as $idx => $row)
Causale
@if(false) @endif @error('causal_id')
{{ $message }}
@enderror
Dettaglio causale
Importo
@if ($commercial)
@else
@endif
@if($add) @endif @if($update) @endif @error('amount')
{{ $message }}
@enderror
Competenza
@if($multiP)

Seleziona inizio e fine multiperiodo

Dal mese
Anno
Dal mese
Anno
@else @foreach($row["when"] as $xxx => $w)
Mese
Anno
Valore {{$this->currencyToDouble($rows[$idx]["amount"]) > 0 ? formatPrice(($this->currencyToDouble($rows[$idx]["amount"]) + getVatValue($this->currencyToDouble($rows[$idx]["amount"]), $rows[$idx]["vat_id"])) / sizeof($rows[$idx]["when"])) : ""}}

@endforeach @endif





@endforeach
@if($canSave) @if($add) @endif @if($update) @endif @else Attenzione : non c'è credito sufficiente sul borsellino virtuale @endif
Ricevuta {{$currentReceip ? $currentReceip->number . "/" . $currentReceip->year : ''}}
@if($this->member)
    @if($this->member->isAdult())
  • {{$this->member->last_name}} {{$this->member->first_name}} ({{$this->member->fiscal_code}})
  • @if (false)
  • Nato/a il {{$this->member->birth_date ? date("d/m/Y", strtotime($this->member->birth_date)) : ''}}
  • @endif @else
  • @if($this->member->father_name != '' && $this->member->mother_name != '') @else @if($this->member->father_name != '') {{$this->member->father_name}} @else {{$this->member->mother_name}} @endif @endif
  • @endif
@endif
  • Data di Pagamento
  • {{ date("d/m/Y", strtotime($date)) }}
@if(sizeof($rows) > 0)
  • Causale
  • @foreach($rows as $row) {{$this->getCausal($row["causal_id"])}} {{$row["amount"]}}
    @endforeach
@endif
Importo{{$this->getPrice()}}
@if(false)
Iva{{$this->getVat()}}
@endif @foreach($this->getVats() as $k => $v)
{{$k}}{{formatPrice($v)}}
@endforeach
Totale{{$this->getTotal()}}
@if($add) @endif @if($update) @if($currentReceip) @if($currentReceip->status == 99)
Annullata @else
@endif @else @endif @endif
@endif
@push('scripts') @endpush @push('scripts') @endpush