@php /** @var \App\Models\Payslip $payslip */ $money = static fn ($value): string => \App\Support\MoneyFormatter::format((float) $value, $company['currency'] ?? null); $earnings = $payslip->earningLines(); $deductions = $payslip->deductionLines(); $employer = $payslip->employerLines(); $rate = static fn ($value): string => $value === null ? '—' : number_format((float) $value * 100, 2, ',', ' ').' %'; @endphp
| @include('pdf.partials.company-identity', ['company' => $company, 'showName' => true]) @if (! empty($company['employer_cnps_number'])) @endif |
Bulletin de paie {{ $payslip->code }} |
Gains
| Libellé | Qté | Taux | Montant |
|---|---|---|---|
| {{ $line->label }} | {{ $line->quantity !== null ? number_format((float) $line->quantity, 2, ',', ' ') : '—' }} | {{ $rate($line->rate) }} | {{ $money($line->amount) }} |
| Brut | {{ $money($payslip->gross_salary) }} | ||
Retenues
| Libellé | Base | Taux | Montant |
|---|---|---|---|
| {{ $line->label }} | {{ $line->base_amount !== null ? $money($line->base_amount) : '—' }} | {{ $rate($line->rate) }} | {{ $money($line->amount) }} |
| Total retenues | {{ $money($payslip->total_deductions_amount) }} | ||
| Net à payer | {{ $money($payslip->net_salary) }} |
Cotisations patronales (hors net à payer)
| Libellé | Base | Taux | Montant |
|---|---|---|---|
| {{ $line->label }} | {{ $line->base_amount !== null ? $money($line->base_amount) : '—' }} | {{ $rate($line->rate) }} | {{ $money($line->amount) }} |
| Aucune cotisation patronale | |||
Cumuls annuels {{ $payslip->payrollRun->year }}
| Brut | Retenues | Net |
|---|---|---|
| {{ $money($yearToDate['gross']) }} | {{ $money($yearToDate['deductions']) }} | {{ $money($yearToDate['net']) }} |