@extends('layouts.admin.app') @section('page_header') {{ $page_header }} @endsection @section('content')
@csrf
Administrator Information
@error('name')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('role')
{{ $message }}
@enderror
(Enter Password if you want to update current password)
Password Format : Atleast 8 characters with atleast one uppercase letter and one special character
@error('password')
{{ $message }}
@enderror
{{--
@error('outlet')
{{ $message }}
@enderror
@error('city')
{{ $message }}
@enderror
@error('outlet')
{{ $message }}
@enderror
--}}
@error('status')
{{ $message }}
@enderror
status) checked @endif @else checked @endif value="1" id="enable">
status) checked @endif @endif id="disable">
Administrator Photo

@error('image')
{{ $message }}
@enderror
@endsection @push('scripts') {{-- $('.role').change(function() { var role_id = $(this).val(); if (role_id == "{{ App\User::PICKUP_DISPATCHER_ROLE }}") { $('.city').removeClass('d-none') $('.city_dropdown').attr('required', 'required'); } else if (role_id == "{{ App\User::DELIVERY_TRANSPORTER_ROLE }}") { $('.region').removeClass('d-none') $('.region_dropdown').attr('required', 'required'); } else if (role_id == "{{ App\User::OUTLET_MANAGER_ROLE }}") { $('.outlet').removeClass('d-none') $('.outlet_dropdown').attr('required', 'required'); } else { $('.city_dropdown').removeAttr('required'); $('.city').addClass('d-none') $('.region_dropdown').removeAttr('required'); $('.region').addClass('d-none') $('.outlet_dropdown').removeAttr('required'); $('.outlet').addClass('d-none') } }) --}} @endpush