@extends('admin::layouts.app') @section('content') @php $readonly = 'readonly'; if ($user->approved_at == null) { $readonly = ''; } if ( auth() ->user() ->hasRole([App\Helpers\ConstantHelper::STAFF_USER, App\Helpers\ConstantHelper::BRANCH_ADMIN]) ) { $readonly = 'readonly'; } @endphp

{{__('static.my_profile_section')}}

@if ($user->approved_at == null)

Note: Please wait for profile approval.

@endif
@if ( $user->approved_at == null && auth()->user()->hasRole([App\Helpers\ConstantHelper::INDIVIDUAL_USER, App\Helpers\ConstantHelper::BUSINESS_USER])) @endif {{__('static.back')}}
@if (auth()->user()->hasRole([App\Helpers\ConstantHelper::BUSINESS_USER])) @endif
@if (auth()->user()->hasRole([ App\Helpers\ConstantHelper::INDIVIDUAL_USER, App\Helpers\ConstantHelper::STAFF_USER, App\Helpers\ConstantHelper::BRANCH_ADMIN, ]))
@if ($user->approved_at == null) @endif
@if (isset($user->user_profile)) @endif
@endif {{-- @if (auth()->user()->hasRole([App\Helpers\ConstantHelper::INDIVIDUAL_USER]))
@endif --}} @if (auth()->user()->hasRole([ App\Helpers\ConstantHelper::STAFF_USER, App\Helpers\ConstantHelper::BRANCH_ADMIN, App\Helpers\ConstantHelper::INDIVIDUAL_USER, ]))
@endif @if (auth()->user()->hasRole([App\Helpers\ConstantHelper::STAFF_USER, App\Helpers\ConstantHelper::BRANCH_ADMIN]))
@endif @if (auth()->user()->hasRole([App\Helpers\ConstantHelper::INDIVIDUAL_USER]))
@endif @if (auth()->user()->hasRole([ App\Helpers\ConstantHelper::STAFF_USER, App\Helpers\ConstantHelper::BRANCH_ADMIN, App\Helpers\ConstantHelper::INDIVIDUAL_USER, ]))
@if ( $user->approved_at == null && auth()->user()->hasRole([App\Helpers\ConstantHelper::INDIVIDUAL_USER])) @endif
@if ( $user->approved_at == null && auth()->user()->hasRole([App\Helpers\ConstantHelper::INDIVIDUAL_USER])) @endif
@endif @if (auth()->user()->hasRole([App\Helpers\ConstantHelper::INDIVIDUAL_USER]))
@if ($setting->drug_test)
@if ($user->approved_at == null) @endif
@if (isset($user->photo_of_drug_test)) View Document @endif
@endif @if ($setting->criminal_history)
@if ($user->approved_at == null) @endif
@if (isset($user->photo_of_criminal_history_test)) View Document @endif
@endif
@if ($user->approved_at == null) @else @endif
@endif
@endsection @section('script') {{-- --}} @endsection