@extends('apex-layouts.main') @section('title', "{$member->name} $model->status") @section('header-right') Go Back id)}}" title="Invoice" class="btn btn-raised btn-raised btn-light mr-1 round"> @endsection @section('content')

{!! $member->name !!}

{!! $member->phone !!}

{!! $member->email !!}

{!! $model->address !!}

id)}}"> Change status

Amount Rs {{$model->totalAmount}}

@if($model->delivered_by)

Delivered {{$model->deliveredBy->name}}


@endif

{{\App\helpers\ViewCommonHelper::getDateFormat($model->created_at,1)}}

{{\App\helpers\ViewCommonHelper::getDateFormat($model->modified_at,1)}}

Order Items
@foreach($model->orderItems as $order) @endforeach
Breakfast Lunch Snack Dinner amount
{!! $order->mealplan !!}-{!! $order->onDate !!}
@if($order->is_breakfast) {!! $order->breakfast !!}

G: {!! $order->breakfastGrams !!} Kcal: {!! $order->breakfastCalories !!}

@else N/A @endif
@if($order->is_lunch) {!! $order->lunch !!}

G: {!! $order->lunchGrams !!} Kcal: {!! $order->lunchCalories!!}

@else N/A @endif
@if($order->is_snack) {!! $order->snack !!}

G: {!! $order->snackGrams !!} Kcal: {!! $order->snackCalories!!}

@else N/A @endif
@if($order->is_dinner) {!! $order->dinner !!}

G: {!! $order->dinnerGrams !!} Kcal: {!! $order->dinnerCalories!!}

@else N/A @endif
{{$order->amount}}

@if($dispositions)

Dispositions

@foreach($dispositions as $dispo) @endforeach
status changed by comment details
{{$dispo->status}} @if($dispo->user_id) {{$dispo->user->name}} @endif

{!! $dispo->comment !!}

{{\App\helpers\ViewCommonHelper::getDateFormat($dispo->created_at,1)}}

@endif
@endsection