@extends('layouts.admin-portal') @section('page-title') Customer Detail @endsection @section('style') @endsection @section('content')
img

{{ ucfirst($detail->first_name).' '.ucfirst($detail->last_name) }}

Personal Information

{{--
--}} {{-- --}} {{--
--}}
{{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}}
{{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}}
@if(count($schedules) > 0) @else @endif {{-- --}}
{{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}}{{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- @if(count($schedules) > 0) {--}} {{-- --}} {{-- @else--}} {{-- --}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}}{{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- @if(count($schedules) > 0) {--}} {{-- --}} {{-- @else--}} {{-- --}} {{-- @endif--}} {{-- --}}{{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}}{{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- @if(count($schedules) > 0) {--}} {{-- --}} {{-- @else--}} {{-- --}} {{-- @endif--}} {{-- --}}{{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}}

Customer Schedules

@forelse ($schedules as $item)

{{ date('d', strtotime($item->trainer_date))}} {{ date('M', strtotime($item->trainer_date))}}

Full Name{{ $item->session_type }}

Customer Name{{ $item["customer"]->first_name.' '.$item["customer"]->last_name }}

Trainer Name{{ $item["trainer"]->name.' '.$item["trainer"]->last_name ?? '' }}

Time{{ date('h:i A', strtotime($item->trainer_time)) }}

Status{{ ucfirst($item->status) }}

VIEW DETAILS
@empty

No Schedule Available...!!

@endforelse

Invoices & Payments

@forelse ($payments as $item) @if($item->status == "paid") @else @endif {{--
{{ $item->status }}
--}} {{-- @empty @endforelse
No. Invoice ID Name Email Payment Date Status
{{ $loop->iteration }} {{ $item->invoice }} {{ $item->customer_name }} {{ $item->customer_email }} {{ $item->payment }} {{ date('d-m-Y', strtotime($item->created_at)) }} Paid Unpaid
No Payments Yet...!!

Customer Schedules

@forelse ($performances as $item) @php $trainer = App\Models\Trainer::where('id', $item->trainer_id)->first(); @endphp

{{ date('d', strtotime($item->trainer_date))}} {{ date('M', strtotime($item->trainer_date))}}

Time{{ $item["session"]->trainer_time }}

@if($trainer != null)

Trainer Name{{ $trainer->name.' '.$trainer->last_name ?? "" }}

@endif {{--

Trainer Name{{ $item['trainer'][0]->name.' '.$item['trainer'][0]->last_name }}

--}} {{--

Status {{}}

--}} {{--

Workout
Cardio Session
Metabolic Assessment
Cardio Session

--}} VIEW DETAILS
@empty

No Performances Available...!!

@endforelse
@endsection @push('custom-js-scripts') @endpush