@extends('layouts.master') @section('title') {{ 'Page Title Goes Here' }} @endsection @section('contain')
{{--
@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->first_name }}

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

Email address
{{ $user->email }}
Phone
{{ $user->phone }}
Address
{{ $user->company->address }}
{{--
--}} {{-- --}} {{--
--}} {{-- Social Profile
--}}
Contect Name

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

Email

{{ $user->email }}

Phone

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

Industry

{{ $user->company->indust->name ?? '-' }}

Company Code

{{ $user->company->company_code ?? '-' }}

Registration #

{{ $user->company->registration ?? '-' }}

Website

{{ $user->company->website ?? '-' }}

Num of Employees

{{ $user->company->employees ?? '-' }}

Limit of Polls

{{ $user->company->poll_limit ?? '-' }}

Invoice Email Address

{{ $user->company->invoice_Email_address ?? '-' }}

Invoice Contact

{{ $user->company->invoice_contact ?? '-' }}

Permissions:
@if (isset($user->rolesCustomRelation[0]['permissions1'])) @foreach ($user->rolesCustomRelation[0]['permissions1'] as $value) @endforeach @else No permissions found. @endif
{{--
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

{{--
Currency

USD

FDP

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

Amount

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


Transactions History

@php $num = 1; @endphp @if ($user->wallet) @foreach ($user->wallet->transactions as $transaction) @endforeach @endif
S.No Transaction Type FDP Amount Type Date
{{ $num++ }} {{ $transaction->type ?? '-' }} {{ $transaction->fdp ?? '-' }} {{ $transaction->amount_type ?? '-' }} {{ $transaction->created_at->format('d/m/Y') ?? '-' }}
--}} {{--
@php $num = 1; @endphp @foreach ($user->orders as $order) @if ($order->status == 0) @else @endif @endforeach
S.No Order Number Platform Fee Before Charge Total Charge Total Item Status Date Action
{{ $num++ }} {{ $order->order_number ?? '-' }} fdp {{ $order->platform_fee ?? '-' }} fdp {{ $order->befor_charge ?? '-' }} fdp {{ $order->total_charge ?? '-' }} {{ $order->total_item ?? '-' }}PendingDispatched{{ $order->created_at->format('d/m/Y') ?? '-' }} @if ($order->status == 0) @else @endif
--}}
{{--
--}}
@php $num = 1; @endphp @foreach ($user->company->departments as $department) @endforeach
S.No Department Name
{{ $num++ }} {{ $department->name }}
{{--
@php $num = 1; @endphp @foreach ($user->withdrawlog as $logs) @endforeach
S.No Payout Batch Id Sender Batch Id Amount Receiver Email Batch Status Date
{{ $num++ }} {{ $logs->payout_batch_id ?? '-' }} {{ $logs->sender_batch_id ?? '-' }} ${{ $logs->amount ?? '0' }} ${{ $logs->receiver_email ?? ' ' }} {{ $logs->batch_status ?? '-' }} {{ $logs->created_at->format('d/m/Y') ?? '-' }}
--}}
{{-- Custom pagination --}} @endsection