@use('app\Helpers\Helpers') @extends('frontend.layout.master') @section('title', __('frontend::static.account.profile')) @section('breadcrumb') @endsection @section('content')
@includeIf('frontend.account.sidebar')

{{ __('frontend::static.account.dashboard') }}

{{ __('frontend::static.account.wallet_balance') }}

{{ Helpers::getSettings()['general']['default_currency']->symbol }} {{ auth()?->user()?->wallet?->balance ?? 0.0 }}

{{ __('frontend::static.account.pending_services') }}

{{auth()?->user()?->getPendingServiceAttribute() ?? 0}} Services

{{ __('frontend::static.account.completed_services') }}

{{auth()?->user()?->getCompletedServiceAttribute() ?? 0}} Services

{{ __('frontend::static.account.profile_setting') }}

{{ auth()?->user()?->name ?? '-' }}

@if(auth()?->user()?->code && auth()?->user()?->phone) +{{ auth()?->user()?->code }} {{ auth()?->user()?->phone }} @else - @endif

{{ auth()?->user()?->email ?? '-' }}

@php $address=auth()?->user()?->getPrimaryAddressAttribute()->address ?? null; $state=auth()?->user()?->getPrimaryAddressAttribute()?->state?->name ?? null; $postal_code=auth()?->user()?->getPrimaryAddressAttribute()?->postal_code ?? null; $country=auth()?->user()?->getPrimaryAddressAttribute()?->country?->name ?? null; @endphp @if($address) {{ $address}} , {{$state}} - {{$postal_code}} , {{$country}} @else - @endif

{{auth()?->user()?->password ? '● ● ● ● ● ●' : '-' }}

girl
@endsection @push('js') @endpush