number_format((float)$v, 2, ',', ' ') . ' €'; $date = static fn ($v) => $v ? (new DateTimeImmutable($v))->format('d/m/Y') : '—'; ?>
$year])) ?> : 0 ? h(t('common.days', ['count' => round($stats['avg'])])) : '—' ?>.

$year - 1])) ?>

t('grant.entries'),'exits' => t('grant.exits'),'adoptions' => t('grant.adoptions'),'deaths' => t('grant.deaths'),'births' => t('grant.births'),'vaccinations' => t('grant.vaccinations'),'treatments' => t('grant.treatments'),'avg' => t('grant.avg_adoption')] as $key => $label): $c = $comparison[$key]; ?>
0 ? '+' : '' ?> 0 ? '+' : '') . number_format($c['percent'], 1, ',', ' ') . ' %' : '' ?>
DeathController::causeLabel($key), array_keys(DeathController::CAUSES)))], [t('grant.adoption_stay'),$details['stays'],[]], ]; ?>

$year])) ?>
$total): $display = $labels[$label] ?? $label; $width = $maximum > 0 ? max(5, round($total / $maximum * 100)) : 0; ?>

$year])) ?>

t('grant.activity_summary'),'completed_actions' => t('grant.completed_actions'),'planned_actions' => t('grant.planned_actions'),'officers_notes' => t('grant.officers'),'in_kind_support' => t('grant.in_kind')] as $field => $label): ?>

t('grant.actual_expenses'),'actual_income' => t('grant.actual_income'),'forecast_expenses' => t('grant.forecast_expenses'),'forecast_income' => t('grant.forecast_income'),'treasury_amount' => t('grant.treasury'),'voluntary_contributions' => t('grant.voluntary')] as $field => $label): ?>

Notes
$year])) ?>

[],'valid' => 0,'total' => count(GrantService::REQUIRED),'complete' => false]; ?>

(int)$check['valid'],'total' => (int)$check['total']])) ?>
$item): $state = $item['state']; $meta = match($state) { 'valid' => ['✓','bg-green-lt',t('grant.valid')],'expiring' => ['⌛','bg-yellow-lt',t('grant.expiring')],'expired' => ['!','bg-red-lt',t('grant.expired')],default => ['×','bg-secondary-lt',t('grant.missing')] }; ?>