@extends('layouts.admin-portal') @section('page-title') Customer Details @endsection @section('content')
@if(isset($customer->photo)) img @else img @endif
First Name: {{$customer->first_name}} Last Name: {{$customer->last_name}}
Email: {{$customer->email}} Phone: {{$customer->phone}}
Date of Birth: {{$customer->dob}} Age: {{$customer->age}}
Gender: {{$customer->gender}} Weight: {{$customer->weight}}
Nationality: {{$customer->nationality}} Country of Residence: {{$customer->residence}}
City: {{$customer->city}} Time Zone: {{$customer->timezone}}
Days: @foreach($days_array as $value) @switch($value) @case(1) Monday @break @case(2) Tuesday @break @case(3) Wednesday @break @case(4) Thursday @break @case(5) Friday @break @case(6) Saturday @break @case(7) Sunday @break @endswitch @endforeach No. of Sessions in a Week: {{$customer->sessions_in_week}}
Type of Training : {{$customer->training_type}} Trainer: {{$customer->trainer->trainer->name}}
@endsection