@extends('layouts.user') @section('title', 'Meal History') @section('page-title', 'Meal History') @section('page-subtitle', 'Review your previous nutrition records.') @section('content')
Your daily nutrition totals.
| Date | Calories | Protein | Carbs | Fat | Status |
|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($day->meal_date)->format('M d, Y') }} | {{ number_format($day->calories) }} kcal | {{ number_format($day->protein, 1) }}g | {{ number_format($day->carbs, 1) }}g | {{ number_format($day->fat, 1) }}g | @if ($day->calories >= $calorieTarget) Target reached @else Below target @endif |
| No meal history yet. Meals you log will appear here. | |||||