@extends('apex-layouts.main') @section('title',"{$mealplan->title} Menu") @section('styles') @stop @section('header-right') @endsection @section('content')
@if (request('success')) {{ session('success') }} @endif @if (session('error')) {{ session('error') }} @endif @foreach($reservations as $reservation)
{!! $reservation->onDate !!} Kcal : {!! ceil($reservation->breakfastCalories + $reservation->lunchCalories + $reservation->snackCalories + $reservation->dinnerCalories ) !!} G : {!! ceil($reservation->breakfastGrams + $reservation->lunchGrams + $reservation->snackGrams + $reservation->dinnerGrams ) !!} @if(!$reservation->id) reservationId) !!}" class="btn btn-raised btn-light round btn-min-width mr-1 mb-1 ajax-base-modal" data-modal-id="package-meal-cancel-{!! $reservation->reservationId !!}"> Cancel Meal @endif
@if($reservation->breakfast)
breakfastLogo :URL::asset("/aron-assets/food-resturant-assets/images/menu-dish-3.jpg")}}" alt="element 01" width="100" class="mt-sm-1 img-thumbnail">

{!! "Breakfast" !!}

{!! $reservation->breakfast !!}

Kcal: {!! ceil($reservation->breakfastCalories )!!} G: {!! ceil($reservation->breakfastGrams )!!}

@endif @if($reservation->lunch)
lunchLogo :URL::asset("/aron-assets/food-resturant-assets/images/menu-dish-3.jpg")}}" alt="element 01" width="100" class="mt-sm-1 img-thumbnail" >

{!! "Lunch" !!}

{!! $reservation->lunch !!}

Kcal: {!! ceil($reservation->lunchCalories )!!} G: {!! ceil($reservation->lunchGrams )!!}

@endif @if($reservation->snack)
snackLogo :URL::asset("/aron-assets/food-resturant-assets/images/menu-dish-3.jpg")}}" alt="element 01" width="100" class="mt-sm-1 img-thumbnail" >

{!! "Snack" !!}

{!! $reservation->snack !!}

Kcal: {!! ceil($reservation->snackCalories )!!} G: {!! ceil($reservation->snackGrams )!!}

@endif @if($reservation->dinner)
dinnerLogo :URL::asset("/aron-assets/food-resturant-assets/images/menu-dish-3.jpg")}}" alt="element 01" width="100" class="mt-sm-1 img-thumbnail" >

{!! "Dinner" !!}

{!! $reservation->dinner !!}

Kcal: {!! ceil($reservation->dinnerCalories )!!} G: {!! ceil($reservation->dinnerGrams )!!}

@endif @endforeach
@endsection @section('scripts') @stop