{{-- Fixed at 3 (breakfast/lunch/dinner) — the menu generator only builds those. --}}
{{-- Nutrition preview — same calculations/cards as the onsite-consultation
wizard (BMR, TDEE, IBW/BMI, target calories, macro breakdown), but
live and read-only on this one page instead of separate wizard
steps. Recomputed client-side as body/lifestyle/diet fields change;
the authoritative values are (re)computed server-side on save by
NutritionCalculator using the exact same formulas. --}}
{{-- Disliked / allergy exclusions — same component catalogue and picker
design as the onsite-consultation wizard's Step 7, reused here via
the same `portal.api.components.list` endpoint. Picked ids are
stored on the visitor and the menu generator (Components-based)
never selects them. --}}
{{ __('patients.section_exclusions') }}
{{ __('patients.exclusions_hint') }}
{{-- Liked components — the flip side of exclusions. When left empty,
the generator picks freely from the diet program's whole catalogue
(same as before this existed). Once one or more are picked here,
the generator restricts itself to ONLY these for every food-group
slot (still honouring exclusions on top of that), so the menu is
built entirely from what the reviewer likes. Same catalogue/picker
as the exclusions section above. --}}
{{ __('patients.section_liked') }}
{{ __('patients.liked_hint') }}
{{-- Meal distribution — read-only table sourced live from
food_group_distributions via the same API the onsite wizard's
Step 8 uses, scaled to this visitor's own target calories. --}}
{{--
{{ __('patients.section_meal_distribution') }}
{{ __('patients.meal_distribution_hint') }}
{{ __('patients.select_diet_first') }}
--}}
{{-- Meal planner preview — a one-day sample built by the same
MenuGenerationService (Components-based) the visitor's real menu
will use once saved, shown with the onsite wizard's Step 9 visual
language (meal dot + calorie progress bar per meal).
Superseded on screen by the day-tabs planner included right below
it (_meal_planner_days); kept hidden and unchanged. --}}
@if ($isNewVisit ?? false)
{{-- These submit the whole reviewer form — saving the reviewer
and this exact previewed menu together in one step —
so they stay disabled until a preview exists to save. --}}
{{ __('patients.meal_planner_hint') }}
{{ __('patients.menu_email_missing') }}
{{-- Which visit Save writes to: the id of the visit this form opened
into (blank on a "New visit" open — see ReviewerController::edit()
and ::syncMenuPreview()), so Save always updates that exact
visit instead of collapsing every save into one row. --}}
@include('portal.reviewers._meal_planner_days')
{{-- Clinical --}}