@extends('apex-layouts.main') @section('title',"Welcome {$model->name}") @section('header-right') @endsection @section('content')
@if (request('success')) {{ session('success') }} @endif @if (session('error')) {{ session('error') }} @endif
{!! $model->gender !!}
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

Initial Address :

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

@if($memberAllergies->names)

Allergies :

{{-- id) !!}" class="float-right"> --}} id)}}" class="round btn-min-width mr-1 mb-1 ajax-base-modal float-right" data-modal-id="package-meal-allergy-{{$model->id}}"> Allergy

{{$memberAllergies->names ?? 'No Allergies'}}

@endif
@csrf Update your weight

@if ($errors->has('weight')) {{ $errors->first('weight') }} @endif

{{--
--}} {{-- Mobile Verified--}} {{--

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

--}} {{--
--}} {{--
--}} {{-- Email Verified--}} {{--

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

--}} {{--
--}}

Insights

Active Meal Plan

{!! ($mealplan)?$mealplan->title: "Subscribe To A Package"!!}

StartOn

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

ExpireOn

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


 Primary Address id) !!}" class="float-right">

{!! ($primaryAddress)?$primaryAddress->address:" - " !!} / {!! ($primaryAddress)?$primaryAddress->address_note:" - " !!}

 Secondary Address

{!! ($secondaryAddress)?$secondaryAddress->address:"No Secondary address is submitted" !!} / {!! ($secondaryAddress)?$secondaryAddress->address_note:" - " !!}

@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

    @foreach($model->invoices as $invoice)
  • inv-{{$invoice->id}} {{$invoice->title}} Total Amount: {{$invoice->invoiceTotal}} Rs Paid Amount: {{($invoice->paidTotal)?$invoice->paidTotal:0}} Rs @if($invoice->object == "MEAL_PLANS") {{$invoice->mealplan->title}} @else {{$invoice->object}} @endif Created On: {{date("y-m-d",strtotime($invoice->created_at))}} id) !!}"> {{$invoice->id}}
  • @endforeach
@endsection @section('scripts') @stop @section('styles') @stop