@extends('apex-layouts.main') @section('title',"{$model->name} - {$model->id}") @section('header-right') {{ $model->phone }} id)}}" class="btn btn-raised btn-light round btn-min-width mr-1 mb-1 ajax-base-modal" data-modal-id="package-meal-cancel-{{$model->id}}"> Meal @endsection @section('content')
Ref: {!! ($model->reference)??" - " !!}
photo:URL::asset(config("params")['images']["avatar"])}}" src="#" alt="{{$model->name}}" class="img-xl mb-2">

{!! $model->name !!}

{!! $model->phone !!}

{!! $model->weight !!}
Weight
{!! $model->height !!}
Height
{!! $model->gender !!}
Gender

Initial Address :{!! ($model->address)?$model->address:"No Address" !!}

id)}}" class="round btn-min-width mr-1 mb-1 ajax-base-modal" data-modal-id="package-meal-allergy-{{$model->id}}"> Allergies: {{$memberAllergies->names ?? 'No Allergies'}}

Birthday

{!! ($model->bdate)??"N/A" !!}

Mobile Verified

{!! ($model->mobile_verified_at)??"N/A" !!}

Email Verified

{!! ($model->email_verified_at)??"N/A" !!}

Insights Active package : {!! $mealplan->title??"Not Enrolled" !!}

Single Orders

{!! $model->orders->count() !!}

Paid Invoices

{!! $model->invoices->where("isPaid",1)->count() !!}

Pending Invoices

{!! $model->invoices->where("isPaid",0)->count() !!}

Pending Days

-

Package Start

{!! ($package)?$package->startOn: "- " !!}

Package Expire

{!! ($package)?$package->expireOn: "- " !!}


id) !!}">  Primary Address : {!! ($primaryAddress)?$primaryAddress->address:" - " !!} {!! ($primaryAddress)?"Note : {$primaryAddress->address_note}":"" !!}

 Secondary Address : {!! ($secondaryAddress)?$secondaryAddress->address:" - " !!} {!! ($secondaryAddress)?"Note : {$secondaryAddress->address_note}":"" !!}

Addresses Flow
@if($secondaryAddress)
Mon {!! ($secondaryAddress->mon)?"SECONDARY":"PRIMARY" !!}
Tue {!! ($secondaryAddress->tue)?"SECONDARY":"PRIMARY" !!}
Wed {!! ($secondaryAddress->wed)?"SECONDARY":"PRIMARY" !!}
Thu {!! ($secondaryAddress->thu)?"SECONDARY":"PRIMARY" !!}
Fri {!! ($secondaryAddress->fri)?"SECONDARY":"PRIMARY" !!}
Sat {!! ($secondaryAddress->sat)?"SECONDARY":"PRIMARY" !!}
Sun {!! ($secondaryAddress->sun)?"SECONDARY":"PRIMARY" !!}
@else
Mon PRIMARY
Tue PRIMARY
Wed PRIMARY
Thu PRIMARY
Fri PRIMARY
Sat PRIMARY
Sun PRIMARY
@endif

Packages

    @if(!empty($model->mealplans)) @foreach($model->mealplans as $mealplan)
  • {!! $mealplan->title !!} |

    {!! $mealplan->startOn !!} - {!! $mealplan->expireOn !!}

  • @endforeach @endif

Invoices

Package Dispositions

@foreach($memberPlanDispositions as $memberPlanDisposition) @endforeach
id Comment mealplan StartOn ExpireOn created_at
{!! $memberPlanDisposition->id !!} {!! $memberPlanDisposition->comments !!} {!! $memberPlanDisposition->mealplan !!}-({!! $memberPlanDisposition->member_meal_plan_id !!}) {!! $memberPlanDisposition->startOn !!} {!! $memberPlanDisposition->expireOn !!} {{\App\helpers\ViewCommonHelper::getUtcDateFormat($memberPlanDisposition->created_at,1)}}
@endsection @section('scripts') @stop @section('styles') @stop