@extends('layouts.client') @section('title', 'Dashboard') @section('content')

Nutrition

Protein 20 % {{ round($calories * 0.20 / 4) }} g
Fats 30 % {{ round($calories * 0.30 / 9) }} g
Carbohydrates 50 % {{ round($calories * 0.50 / 4) }} g
@foreach ($groupedNutritions as $week => $mealsByDay)
@foreach ($mealsByDay as $day => $meals) @php $randomMeal = $meals->random(); @endphp @endforeach
@endforeach
@push('scripts') @endpush @endsection