@php
$documentiLabel = $isDipendente ? 'mensilità' : 'documenti';
$documentiLabelCapitalized = $isDipendente ? 'Mensilità' : 'Documenti';
@endphp
@php
$firstRowMdCols = $isDipendente ? 'md:grid-cols-3' : 'md:grid-cols-4';
$firstRowLgCols = $isDipendente ? 'lg:grid-cols-5' : 'lg:grid-cols-4';
$firstRowXlCols = $isDipendente ? 'xl:grid-cols-5' : 'xl:grid-cols-4';
@endphp
{{ $isDipendente ? 'Retribuzione annua' : 'Compenso Contratto' }}
{{ number_format($isDipendente ? ($retribuzioneAnnua ?? $compensoContratto) : $compensoContratto, 2, ',', '.') }} €
{{ $isDipendente ? 'Valore annuo contrattuale' : 'Importo stabilito' }}
@if ($isDipendente)
Costo mensile stimato
{{ $costoMensile ? number_format($costoMensile, 2, ',', '.') . ' €' : '—' }}
Calcolato su 12 mensilità
@endif
Totale {{ $documentiLabelCapitalized }}
{{ number_format($totaleImporto, 2, ',', '.') }} €
{{ $numeroFatture }} {{ $documentiLabel }}
Importo Pagato
{{ number_format($totalePagato, 2, ',', '.') }} €
{{ $fatturePagate }} {{ $documentiLabel }} pagati
Da Pagare
{{ number_format($totaleRimanente, 2, ',', '.') }} €
{{ $numeroFatture - $fatturePagate }} {{ $documentiLabel }} da pagare