@extends('layouts.user') @section('title', 'My Meals') @section('page-title', 'My Meals') @section('page-subtitle', 'Manage your meals for today.') @section('content') @if (session('success'))
Select a food and enter the amount you ate.
{{ number_format($todayCalories) }} kcal · Protein {{ number_format($proteinTotal, 1) }}g · Carbs {{ number_format($carbsTotal, 1) }}g · Fat {{ number_format($fatTotal, 1) }}g
| Meal | Food | Quantity | Calories | Protein | Time | Action |
|---|---|---|---|---|---|---|
| {{ $meal->meal_type }} | {{ $meal->food_name }} | {{ number_format($meal->quantity_grams) }}g | {{ number_format($meal->calories) }} kcal | {{ number_format($meal->protein, 1) }}g | {{ $meal->consumed_at?->format('h:i A') ?? '—' }} | |
| No meals logged today. | ||||||