@extends('reports.pdf.layout') @section('title', $data['meta']['title'] ?? 'Taxe Annuelle Incitative (TAI)') @php $meta = $data['meta'] ?? []; $ban = $data['banner'] ?? []; $calc = $data['calculation'] ?? []; $detail = $calc['detail'] ?? []; $step1 = $detail['step1_ecart'] ?? []; $step2 = $detail['step2_taux'] ?? []; $step3 = $detail['step3_tarif'] ?? []; $verd = $data['verdissement'] ?? []; $kpis = $data['kpis'] ?? []; $vehicles = $data['vehicles'] ?? []; $fr = function ($v, $d = 0) { if ($v === null) return '—'; return is_numeric($v) ? number_format((float) $v, $d, ',', ' ') : (string) $v; }; $coeff = fn ($c) => '×' . rtrim(rtrim(number_format((float) $c, 1, '.', ''), '0'), '.'); @endphp @section('styles') @endsection @section('content') @if (($meta['is_provisional'] ?? false))
{{ $ban['projection_note'] }}
@endif {{-- TAI calculation card --}}| 1. Écart à l'objectif | véh./an |
|---|---|
| Taille flotte annuelle | {{ $fr($step1['taille_flotte_annuelle'] ?? 0, 2) }} |
| Objectif cible ({{ $step1['objectif_pct'] ?? 0 }} %) | {{ $fr($step1['objectif_cible'] ?? 0, 2) }} |
| {{ $b['label'] }} ({{ $coeff($b['coeff']) }}) | {{ $fr($b['value'], 2) }} |
| Total VFE pondérés | {{ $fr($step1['total_vfe_ponderes'] ?? 0, 2) }} |
| Écart (plancher 0) | {{ $fr($step1['ecart_plancher'] ?? 0, 2) }} |
| 2. Taux de renouvellement | valeur |
|---|---|
| Numérateur (acquisitions polluantes) | {{ $fr($step2['numerateur'] ?? 0, 2) }} |
| Dénominateur (taille flotte annuelle) | {{ $fr($step2['denominateur'] ?? 0, 2) }} |
| Taux | {{ $fr($step2['taux_pct'] ?? 0, 2) }} % |
| 3. Tarif unitaire | € / véh. |
|---|---|
| {{ $step3['bareme_label'] ?? '' }} | {{ $fr($step3['tarif'] ?? 0) }} |
Base légale : {{ $detail['legal_basis'] ?? '' }}.
{{ $detail['eligibility_note'] ?? '' }}
| Immatriculation | Énergie | CO₂ WLTP | Catégorie | Jours | Véh./an | Classification | Coeff. | Pondéré |
|---|---|---|---|---|---|---|---|---|
| {{ $v['plate'] ?? '—' }} | {{ $v['energy'] ?? '—' }} | {{ $v['co2'] !== null ? $v['co2'] . ' g/km' : '—' }} | {{ $v['category_label'] ?? '—' }} | {{ $v['days'] ?? 0 }}{{ ($v['immobilized'] ?? false) ? ' *' : '' }} | {{ $fr($v['veh_an'] ?? 0, 2) }} | {{ $v['classification_label'] ?? '—' }} | {{ $coeff($v['coeff'] ?? 1) }} | {{ $fr($v['pondere'] ?? 0, 2) }} |
Extrait des 25 premières lignes ({{ count($vehicles) }} véhicules au total). Liste complète dans l'export XLSX.
@endif* Indique des jours d'immobilisation administrative déduits.
@elseAucun véhicule taxable sur l'exercice.
@endif @endsection