@extends('layouts.master') @section('title') {{ 'Page Title Goes Here' }} @endsection @section('contain')
@foreach ($nannyData as $user)
{{-- {{dd($user->rating)}} --}} @php $rating = $user->rating; @endphp @foreach (range(1, 5) as $i) @if ($rating > 0) @if ($rating > 0.5) @else @endif @endif @php $rating--; @endphp @endforeach
{{ round($user->rating, 1) }}

{{ $user->full_name }}

@if ($user->user_role == 'nanny')
Caregiver
@else
{{ $user->user_role }}
@endif {{-- --}}

Email address
{{ $user->email }}
Phone
{{ $user->phone }}
Address {{--
Address
--}}
{{--
--}} {{-- --}} {{--
--}} {{-- Social Profile
--}}
@endforeach
Full Name

{{ $user->full_name ?? '-' }}

Email

{{ $user->email }}

Phone

{{ $user->phone }}

Experiences

{{ $user->experiences ? ucwords($user->experiences) : '-' }}

Qualification

{{ $user->qualification ? ucwords($user->qualification) : '-' }}

Gender

{{ $user->gender }}

Age

{{ $user->age ?? '-' }}

{{--
Customer Stripe ID

{{ $user->customer_stripe_id }}

--}}
Ethnicity

{{ $user->ethnicity ?? '-' }}

{{--
Latitude

{{ $user->latitude ?? '-' }}

Longitude

{{ $user->longitude ?? '-' }}

--}}
Caregiver Status
@if ($user->is_online == 0)

offline

@else

online

@endif
{{--
DOB

{{ $user->dob }}

--}} {{--
--}}
Biography

{{ $user->biography ?? '-' }}

Language(s)
@php $languages = explode(',', $user->language); @endphp @foreach ($languages as $language)

{{ trim($language) }}

@endforeach
{{--
Media
Agreement

Not Available

Licens

Not Available

--}}

Status not available

Not Uploaded

Status not available

Not Uploaded

{{-- @foreach ($user->wallet as $Cwallet) --}}
Currency

{{ $user->wallet->currency ?? '' }}

Amount

{{ $user->wallet->amount ?? '' }}

{{-- {{dd($user->wallet->transactions)}} --}}

Transactions History

@php $num = 1; @endphp @if ($user->wallet) {{-- @foreach ($user->nannyBookings as $Cusdevices) --}} @foreach ($user->wallet->transactions as $transaction) {{-- {{dd($media->media_type)}} --}} {{-- --}} @endforeach @endif
S.No Transaction Type Amount Amount Type Date
{{ $num++ }} {{ $transaction->type ?? '-' }} {{ $transaction->amount ?? '-' }} {{ $transaction->amount_type ?? '-' }} {{ $transaction->created_at ?? '-' }}{{ \Carbon\Carbon::parse($transaction->created_at)->diffForHumans()}}
{{--
--}}
@php $num = 1; @endphp @foreach ($user->nannyappointment as $appointm) @endforeach
S.no Booking Type Job Title Job Type Action
{{ $num++ }} {{ $appointm->booking_type ?? '' }} @if ($appointm->parent_id != null)

Extend

@endif
{{ $appointm->job_title ?? '' }} {{ $appointm->job_type ?? '' }}
{{-- @foreach ($user->nannyBookings as $Cusdevices) --}} @foreach ($user->userMedia as $media) {{-- {{dd($user->profile_image)}} --}} {{-- --}} @endforeach
Media Type Media Title Media Images
{{ $media->media_type }} {{ $media->media_title }}{{ ucwords(str_replace('_', ' ', $media->media_type)) }} {{ ucwords(str_replace('_', ' ', $media->media_title)) }} Not Available
@php $num = 1; @endphp @foreach ($user->preferences as $service) @endforeach
S.No Preferences
{{ $num++ }} {{ $service->title ?? '' }}
@php $num = 1; @endphp @foreach ($user->categories as $service) @endforeach
S.No Services
{{ $num++ }} {{ $service->title ?? '' }}
{{-- --}} @php $num = 1; @endphp @foreach ($user->schedule as $schedule) @if ($schedule->status == 'on') @else @endif @if ($schedule->status == 'on') @else @endif {{-- --}} @endforeach
S.No Working Days Start Time End Time StatusDate
{{ $num++ }} {{ $schedule->day ? ucwords($schedule->day) : '-' }}{{ $schedule->starttime ? date('h:i A', strtotime($schedule->starttime)) : '-' }} -{{ $schedule->starttime ? date('h:i A', strtotime($schedule->endtime)) : '-' }} - @if ($schedule->status == 'on')

{{ $schedule->status ?? '' }}

@else

{{ $schedule->status ?? '' }}

@endif
{{ $schedule->created_at ?? '' }}
{{-- Custom pagination --}} @endsection