@extends('layouts.admin') @section('title', 'Foods') @section('page-title', 'Food Management') @section('content')
Manage the NutriTrack food database.
Enter nutrition values per 100 grams.
| Food | Calories | Protein | Carbs | Fat | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $food->name }} | {{ number_format($food->calories_per_100g, 2) }} kcal | {{ number_format($food->protein_per_100g, 2) }}g | {{ number_format($food->carbs_per_100g, 2) }}g | {{ number_format($food->fat_per_100g, 2) }}g | {{ $food->status ? 'Active' : 'Inactive' }} |
Edit |
| No foods found. | ||||||