@extends('apex-layouts.main') @section('title',"Reservation ".$onDate) @section('header-right') Take out Prints @if($insight->overAll != $insight->totalMember) Go For Cook @endif Rider @endsection @section('content')

TOTAL

 

 {!! $insight->totalMember !!}

 MEMBERS: {!! $insight->memberCount !!}
 ORDERS: {!! $insight->orderCount !!}

Insights

{!! $insight->cookingMembers !!} - Cooking
{!! $insight->transitMembers !!} - Transit
{!! $insight->deliveredMembers !!} - Delivered
{!! $insight->canceledMembers !!} - Canceled
{!! $insight->declinedMembers !!} - Declined

Members List

@foreach($members as $member)
memberId) !!}">{{$member->name}} {{$member->mealplans}} @if($member->orderId)

@if($member->pisBreakfast) Breakfast: @endif @if($member->pisLunch) lunch: @endif @if($member->pisSnack) snack: @endif @if($member->pisDinner) dinner: @endif
endOn : {{$member->expireOn}} {!! $member->status !!}

@else

@if($member->pisBreakfast) Breakfast: @endif @if($member->pisLunch) lunch: @endif @if($member->pisSnack) snack: @endif @if($member->pisDinner) dinner: @endif
endOn : {{$member->expireOn}} {!! $member->status !!}

@endif
@endforeach @foreach($orderMembers as $member)
{{$member->name}} {{$member->mealplans}} @if($member->orderId)

@if($member->pisBreakfast) Breakfast: @endif @if($member->pisLunch) lunch: @endif @if($member->pisSnack) snack: @endif @if($member->pisDinner) dinner: @endif
Single Order {!! $member->status !!}

@else

@if($member->pisBreakfast) Breakfast: @endif @if($member->pisLunch) lunch: @endif @if($member->pisSnack) snack: @endif @if($member->pisDinner) dinner: @endif
Single Order

@endif
@endforeach

Kitchen

@foreach($mealData as $type => $data)
{!! $type !!}
@foreach($data as $meal)
logoImage:env("NO_IMAGE_URL") !!}" width="70" height="70" alt="{!! $meal->title !!}">
id) !!}">
{!! $meal->title !!}

Kcal: {!! $meal->totalCalories !!} | Grams: {!! $meal->totalGrams !!} | {!! $meal->mealplans !!}{!! $meal->orderText !!}

@foreach($meal->recipes as $recipe) @php $mealCount = $meal->memberCount; @endphp
  • {!! $recipe->title !!}logoImage:env("NO_IMAGE_URL") !!}" src="https://dietbox.pk/uploads/recipes/04985c93e7e8d46eaf2182f6715c02f5.jpeg">
  • Ingredients for {!! $mealCount !!} Members Kcal: {!! $recipe->totalCalories * $mealCount !!} | Grams: {!! $recipe->totalGrams * $mealCount !!}
  • @foreach($recipe->ingredients as $ingredient)
  • {!! $ingredient->name !!}
    {!! $ingredient->pivot->grams * $mealCount !!} G
  • @endforeach
@endforeach
@endforeach
@endforeach @endsection @section('scripts') @stop @section('styles') @stop