@php $formatLiters = fn (?int $milliliters): string => number_format(((int) $milliliters) / 1000, 2, ',', ' ') . ' L'; $formatPercent = fn (mixed $value): string => rtrim(rtrim(number_format((float) $value, 1, ',', ' '), '0'), ',') . '%'; $hydrationTargets = [ ['label' => 'Objectif', 'value' => 2500, 'tone' => 'goal'], ['label' => 'Limite', 'value' => 3000, 'tone' => 'limit'], ]; @endphp

{{ __('Suivi quotidien') }}

{{ __('Hydratation') }}

@foreach ([7, 30, 90] as $periodOption) {{ trans_choice('ui.common.days', $periodOption, ['count' => $periodOption]) }} @endforeach
@if (session('status'))
{{ session('status') }}
@endif
@include('partials.hydration-consumption-form', ['modalName' => 'hydration-add-consumption'])