@extends('layouts.portal') @section('title', $patient->full_name . ' — ' . config('app.name')) @section('page_title', $patient->full_name) @section('page_subtitle', ($patient->file_number ? $patient->file_number . ' · ' : '') . __('patients.age') . ': ' . $summary['age'] . ' · ' . __('common.' . $patient->gender)) @section('page_actions') {{ __('common.edit') }} {{ __('menus.generate') }} @endsection @section('content') @if ($patient->dietType?->requires_medical_clearance)
{{ __('patients.clearance_warning') }}
@if ($patient->dietType->contraindications()){{ __('patients.bmr') }}
{{ number_format($summary['bmr']) }}
{{ __('common.kcal') }}
{{ __('patients.tdee') }}
{{ number_format($summary['tdee']) }}
{{ __('common.kcal') }}
{{ __('patients.target_calories') }}
{{ number_format($summary['target_calories']) }}
{{ $patient->dietType?->name }}
{{ __('patients.bmi') }}
{{ $summary['bmi'] }}
{{ __('patients.bmi_category.' . $summary['bmi_category']) }}
{{ $summary['macros'][$key] }}{{ __('common.grams') }}
{{ __('patients.' . $label) }}
{{ __('patients.water') }}: {{ $summary['water_litres'] }} L
{{ $menu->starts_on?->format('Y-m-d') }} · {{ $menu->duration_days }} {{ __('common.days') }} · {{ number_format($menu->target_calories) }} {{ __('common.kcal') }}
{{ __('menus.empty') }}
@endforelse| {{ __('patients.measured_on') }} | {{ __('patients.weight_kg') }} | {{ __('patients.body_fat_percent') }} | {{ __('patients.waist_cm') }} | {{ __('patients.consultant') }} |
|---|---|---|---|---|
| {{ $m->measured_on->format('Y-m-d') }} | {{ $m->weight_kg }} | {{ $m->body_fat_percent ?? '—' }} | {{ $m->waist_cm ?? '—' }} | {{ $m->recorder?->name ?? '—' }} |
| {{ __('patients.no_measurements') }} | ||||
{{ __($label) }}
@if (filled($items))