@extends('layouts.app') @extends('layouts.navbar') @section('content')
@if(in_array(Auth::user()->user_type,[1,2]))
@include('profile.nav')
@else
@endif @if(session()->has('msg')) @endif

{{ __("Account Overview") }}

@csrf
@if (Auth::user()->dp!=NULL) Display Picture @else Display Picture @endif
@error('name') {{ $message }} @enderror
@error('whatsapp_no') {{ $message }} @enderror
@error('email') {{ $message }} @enderror
@error('country_id') {{ $message }} @enderror
@error('state_id') {{ $message }} @enderror
@error('city_id') {{ $message }} @enderror
@if (Auth::user()->user_type == 1)
@error('max_confirms') {{ $message }} @enderror
@endif @if (Auth::user()->vehicle_type_id == 4)
is_closed == 1) checked @endif>
is_400 == 1) checked @endif>
is_750 == 1) checked @endif>
is_1000 == 1) checked @endif>
is_1500 == 1) checked @endif>
is_2500 == 1) checked @endif>
is_6000 == 1) checked @endif>
@endif
{{ __('Back') }}

{{--

{{ __("Pending Booking") }}

--}}

{{ __("Wallet") }}

{{ __('Current Balance : ') }}{{ Auth::user()->wallet_balance }}
@if (Auth::user()->wallet_balance<500) {{ __('(Withdrawal Available when Balance reaches 500 and above)') }} @endif
@if (Auth::user()->wallet_balance>=500) @if (Auth::user()->withdrawal_request==0) @else @endif @endif

@if(Auth::user()->user_type == 1)

{{ __("Subscription") }}

{{-- Subscription Details Section --}}
@if(Auth::user()->package_expiry<\Carbon\Carbon::now() && Auth::user()->confirms > 5)
{{-- Current Subscription Details - When Package has Expired --}}

{{ __("Subscription Expired!") }}

@else
{{-- Current Subscription Details - When Package is Active --}}

{{ __("Current Package :") }}

{{ Auth::user()->package_name }}

{{ __("Expiry Date :") }}

{{ Auth::user()->package_expiry }}

@endif
@endif
@endsection @extends('layouts.footer')