@php $totalHours = $totals['total_hours'] ?? 0; $totalMiscAmount = $totals['total_misc_amount'] ?? 0; $totalAmount = $totals['total_amount'] ?? 0; $schedulesCount = $totals['schedules_count'] ?? 0; $miscItemsCount = $totals['misc_items_count'] ?? 0; @endphp

Indicateurs

Horaires
{{ $schedulesCount }} {{ $schedulesCount > 1 ? 'interventions' : 'intervention' }} @if($totalHours == 0) -- @else {{ number_format($totalHours, 0, ',', ' ') }} h @endif
Éléments divers
{{ $miscItemsCount }} {{ $miscItemsCount > 1 ? 'éléments' : 'élément' }} @if($totalMiscAmount == 0) -- @else {{ number_format($totalMiscAmount, 0, ',', ' ') }} € @endif
Total du mois
{{ number_format($totalAmount, 0, ',', ' ') }} €