@php use App\Support\Money; $hours = $getState()['hours'] ?? []; $totalHours = array_sum(array_column($hours, 'hours')); $totalCost = array_sum(array_column($hours, 'rh_cost')); @endphp
| Collaborateur | Heures approuvées | Coût RH alloué |
|---|---|---|
| {{ $row['name'] }} | {{ number_format($row['hours'], 2, ',', ' ') }} h | {{ Money::format($row['rh_cost']) }} |
| Aucune heure approuvée sur ce marché. | ||
| Total | {{ number_format($totalHours, 2, ',', ' ') }} h | {{ Money::format($totalCost) }} |