@extends('admin::layouts.app') @section('content')
@method('PUT')

{{ __('admin.my_staff') }}

{{ __('admin.edit_staff') }}

{{ __('static.cancel') }}
@php $readonly = ''; $userType = ''; $disabled = ''; if ($user->created_by != auth()->user()->id) { $readonly = 'readonly'; $disabled = 'disabled'; $userType = 'requested_user'; } @endphp
{{ __('admin.enter_the_details_below_for_create_staff') }}
@if (auth()->user()->hasRole([App\Helpers\ConstantHelper::BUSINESS_USER]))
@endif
{{--
@forelse($user->userDocuments as $key => $userDocument) @empty @endforelse
Sr.No. {{ __('admin.document_type') }} {{ __('admin.expiry_date') }} {{ __('admin.upload') }} {{ __('admin.action') }}
{{ $key + 1 }}
Valid file types: xlsx,xls,pdf,doc,docx,jpeg,png,jpg. Max file size: 2MB
@if (count($user->userDocuments) < count($documentTypes)) @endif @if ($userDocument->document_file) @endif
1
Valid file types: xlsx,xls,pdf,doc,docx,jpeg,png,jpg. Max file size: 2MB
--}}
{{-- @if ($disabled != 'disabled')
@endif --}}
@endsection @section('script') @endsection