Associazione: {{env('RAGIONE_SOCIALE', '')}}
Via: {{env('INDIRIZZO', '')}} {{env('LOCALITA', '')}} ({{env('PROVINCIA', '')}})
C.F.: {{env('CODICE_FISCALE', '')}}
P.IVA: {{env('PARTITA_IVA', '')}}
Intestata a
@if(!$receipt->member->isAdult())
Padre: {{$receipt->member->father_name}}
Madre: {{$receipt->member->mother_name}}
@endif
Cognome: {{$receipt->member->last_name}}
Nome: {{$receipt->member->first_name}}
Nata a: {{@$receipt->member->birth_city->name}} ({{@$receipt->member->birth_province->name}}) il {{$receipt->member->birth_date ? date("d/m/Y", strtotime($receipt->member->birth_date)) : ""}}
Residente in: {{$receipt->member->address}} {{@$receipt->member->city->name}} ({{@$receipt->member->province->name}})
Codice Fiscale: {{$receipt->member->fiscal_code}}
RICEVUTA DI PAGAMENTO N. {{$receipt->number . "/" . $receipt->year}}
@php
$total = 0;
@endphp
@foreach($receipt->rows as $row)
Descrizione: {{@$row->causal->getTree()}}
Importo: {{formatPrice($row->amount)}}
@php
$total += $row->amount;
@endphp
@endforeach
Totale: {{formatPrice($total)}}