 <!--  Modal content for the Large example -->
 <div class="modal fade" id="bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"
     aria-hidden="true">
     <div class="modal-dialog modal-lg">
         <div class="modal-content">
             <div class="modal-header">
                 <h4 class="modal-title" id="myLargeModalLabel">Edit User</h4>
                 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
             </div>
             <div class="modal-body">
                 <form id="updateForm" action="<?php echo e(route('admin.user.update', $user->uuid)); ?>" method="post"
                     enctype="multipart/form-data">
                     <?php echo csrf_field(); ?>
                     <?php echo method_field('PUT'); ?>

                     <div class="row">
                         <?php if (isset($component)) { $__componentOriginal377af9bacdfb9429d949663393821085 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal377af9bacdfb9429d949663393821085 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-input','data' => ['name' => 'name','label' => 'Name','class' => 'col-md-6 mb-3','value' => ''.e($user->name).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'name','label' => 'Name','class' => 'col-md-6 mb-3','value' => ''.e($user->name).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $attributes = $__attributesOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__attributesOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $component = $__componentOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__componentOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal377af9bacdfb9429d949663393821085 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal377af9bacdfb9429d949663393821085 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-input','data' => ['name' => 'middle_name','label' => 'Middle Name','class' => 'col-md-6 mb-3','value' => ''.e($user->middle_name).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'middle_name','label' => 'Middle Name','class' => 'col-md-6 mb-3','value' => ''.e($user->middle_name).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $attributes = $__attributesOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__attributesOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $component = $__componentOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__componentOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal377af9bacdfb9429d949663393821085 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal377af9bacdfb9429d949663393821085 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-input','data' => ['name' => 'last_name','label' => 'Last Name','class' => 'col-md-6 mb-3','value' => ''.e($user->last_name).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'last_name','label' => 'Last Name','class' => 'col-md-6 mb-3','value' => ''.e($user->last_name).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $attributes = $__attributesOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__attributesOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $component = $__componentOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__componentOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal377af9bacdfb9429d949663393821085 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal377af9bacdfb9429d949663393821085 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-input','data' => ['name' => 'username','label' => 'Username','class' => 'col-md-6 mb-3','value' => ''.e($user->username).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'username','label' => 'Username','class' => 'col-md-6 mb-3','value' => ''.e($user->username).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $attributes = $__attributesOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__attributesOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $component = $__componentOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__componentOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal377af9bacdfb9429d949663393821085 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal377af9bacdfb9429d949663393821085 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-input','data' => ['name' => 'email','label' => 'Email Address','class' => 'col-md-6 mb-3','type' => 'email','value' => ''.e($user->email).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'email','label' => 'Email Address','class' => 'col-md-6 mb-3','type' => 'email','value' => ''.e($user->email).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $attributes = $__attributesOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__attributesOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $component = $__componentOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__componentOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal377af9bacdfb9429d949663393821085 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal377af9bacdfb9429d949663393821085 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-input','data' => ['name' => 'phone','label' => 'Phone Number','class' => 'col-md-6 mb-3','value' => ''.e($user->phone).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'phone','label' => 'Phone Number','class' => 'col-md-6 mb-3','value' => ''.e($user->phone).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $attributes = $__attributesOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__attributesOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $component = $__componentOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__componentOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginalcefc572cf950a78f0020a7e3b46f0442 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcefc572cf950a78f0020a7e3b46f0442 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-select','data' => ['name' => 'country','label' => 'Country','type' => 'select','class' => 'col-md-6 mb-3','value' => ''.e($user->country).'','options' => config('setting.countries')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-select'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'country','label' => 'Country','type' => 'select','class' => 'col-md-6 mb-3','value' => ''.e($user->country).'','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(config('setting.countries'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcefc572cf950a78f0020a7e3b46f0442)): ?>
<?php $attributes = $__attributesOriginalcefc572cf950a78f0020a7e3b46f0442; ?>
<?php unset($__attributesOriginalcefc572cf950a78f0020a7e3b46f0442); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcefc572cf950a78f0020a7e3b46f0442)): ?>
<?php $component = $__componentOriginalcefc572cf950a78f0020a7e3b46f0442; ?>
<?php unset($__componentOriginalcefc572cf950a78f0020a7e3b46f0442); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal377af9bacdfb9429d949663393821085 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal377af9bacdfb9429d949663393821085 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-input','data' => ['name' => 'address','label' => 'Address','class' => 'col-md-6 mb-3','value' => ''.e(@$user->address).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'address','label' => 'Address','class' => 'col-md-6 mb-3','value' => ''.e(@$user->address).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $attributes = $__attributesOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__attributesOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $component = $__componentOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__componentOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal377af9bacdfb9429d949663393821085 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal377af9bacdfb9429d949663393821085 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-input','data' => ['name' => 'city','label' => 'City','class' => 'col-md-6 mb-3','value' => ''.e(@$user->city).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'city','label' => 'City','class' => 'col-md-6 mb-3','value' => ''.e(@$user->city).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $attributes = $__attributesOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__attributesOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $component = $__componentOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__componentOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal377af9bacdfb9429d949663393821085 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal377af9bacdfb9429d949663393821085 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-input','data' => ['name' => 'state','label' => 'State','class' => 'col-md-6 mb-3','value' => ''.e(@$user->state).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'state','label' => 'State','class' => 'col-md-6 mb-3','value' => ''.e(@$user->state).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $attributes = $__attributesOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__attributesOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $component = $__componentOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__componentOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal377af9bacdfb9429d949663393821085 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal377af9bacdfb9429d949663393821085 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-input','data' => ['name' => 'zip_code','label' => 'Zip Code','class' => 'col-md-6 mb-3','value' => ''.e(@$user->zip_code).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'zip_code','label' => 'Zip Code','class' => 'col-md-6 mb-3','value' => ''.e(@$user->zip_code).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $attributes = $__attributesOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__attributesOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $component = $__componentOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__componentOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginalcefc572cf950a78f0020a7e3b46f0442 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcefc572cf950a78f0020a7e3b46f0442 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-select','data' => ['name' => 'title','label' => 'Title','type' => 'select','class' => 'col-md-6 mb-3','value' => ''.e(@$user->title).'','options' => config('setting.titles')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-select'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'title','label' => 'Title','type' => 'select','class' => 'col-md-6 mb-3','value' => ''.e(@$user->title).'','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(config('setting.titles'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcefc572cf950a78f0020a7e3b46f0442)): ?>
<?php $attributes = $__attributesOriginalcefc572cf950a78f0020a7e3b46f0442; ?>
<?php unset($__attributesOriginalcefc572cf950a78f0020a7e3b46f0442); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcefc572cf950a78f0020a7e3b46f0442)): ?>
<?php $component = $__componentOriginalcefc572cf950a78f0020a7e3b46f0442; ?>
<?php unset($__componentOriginalcefc572cf950a78f0020a7e3b46f0442); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal377af9bacdfb9429d949663393821085 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal377af9bacdfb9429d949663393821085 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-input','data' => ['name' => 'dob','label' => 'Date of Birth','type' => 'date','class' => 'col-md-6 mb-3','value' => ''.e($user->dob).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'dob','label' => 'Date of Birth','type' => 'date','class' => 'col-md-6 mb-3','value' => ''.e($user->dob).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $attributes = $__attributesOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__attributesOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $component = $__componentOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__componentOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginalcefc572cf950a78f0020a7e3b46f0442 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcefc572cf950a78f0020a7e3b46f0442 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-select','data' => ['name' => 'gender','label' => 'Gender','type' => 'select','class' => 'col-md-6 mb-3','value' => ''.e($user->gender).'','options' => config('setting.genders')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-select'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'gender','label' => 'Gender','type' => 'select','class' => 'col-md-6 mb-3','value' => ''.e($user->gender).'','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(config('setting.genders'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcefc572cf950a78f0020a7e3b46f0442)): ?>
<?php $attributes = $__attributesOriginalcefc572cf950a78f0020a7e3b46f0442; ?>
<?php unset($__attributesOriginalcefc572cf950a78f0020a7e3b46f0442); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcefc572cf950a78f0020a7e3b46f0442)): ?>
<?php $component = $__componentOriginalcefc572cf950a78f0020a7e3b46f0442; ?>
<?php unset($__componentOriginalcefc572cf950a78f0020a7e3b46f0442); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginalcefc572cf950a78f0020a7e3b46f0442 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcefc572cf950a78f0020a7e3b46f0442 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-select','data' => ['name' => 'marital_status','label' => 'Marital Status','type' => 'select','class' => 'col-md-6 mb-3','value' => ''.e($user->marital_status).'','options' => config('setting.maritalStatus')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-select'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'marital_status','label' => 'Marital Status','type' => 'select','class' => 'col-md-6 mb-3','value' => ''.e($user->marital_status).'','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(config('setting.maritalStatus'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcefc572cf950a78f0020a7e3b46f0442)): ?>
<?php $attributes = $__attributesOriginalcefc572cf950a78f0020a7e3b46f0442; ?>
<?php unset($__attributesOriginalcefc572cf950a78f0020a7e3b46f0442); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcefc572cf950a78f0020a7e3b46f0442)): ?>
<?php $component = $__componentOriginalcefc572cf950a78f0020a7e3b46f0442; ?>
<?php unset($__componentOriginalcefc572cf950a78f0020a7e3b46f0442); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginalcefc572cf950a78f0020a7e3b46f0442 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcefc572cf950a78f0020a7e3b46f0442 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-select','data' => ['name' => 'employment','label' => 'Type of Employment','type' => 'select','class' => 'col-md-6 mb-3','value' => ''.e($user->employment).'','options' => config('setting.employments')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-select'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'employment','label' => 'Type of Employment','type' => 'select','class' => 'col-md-6 mb-3','value' => ''.e($user->employment).'','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(config('setting.employments'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcefc572cf950a78f0020a7e3b46f0442)): ?>
<?php $attributes = $__attributesOriginalcefc572cf950a78f0020a7e3b46f0442; ?>
<?php unset($__attributesOriginalcefc572cf950a78f0020a7e3b46f0442); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcefc572cf950a78f0020a7e3b46f0442)): ?>
<?php $component = $__componentOriginalcefc572cf950a78f0020a7e3b46f0442; ?>
<?php unset($__componentOriginalcefc572cf950a78f0020a7e3b46f0442); ?>
<?php endif; ?>

                         <div class="col-md-6 mb-3">
                             <label for="currency" class="form-label">Currency</label>
                             <select id="currency" name="currency"
                                 class="form-select <?php $__errorArgs = ['currency'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                 <option value="">Select Currency</option>
                                 <?php $__currentLoopData = config('setting.currencies'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $currency): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                     <option
                                         value="<?php echo e($currency['name']); ?>-<?php echo e($currency['code']); ?>-<?php echo e($currency['symbol']); ?>"
                                         <?php echo e($user->currency == $currency['name'] . '-' . $currency['code'] . '-' . $currency['symbol'] ? 'selected' : ''); ?>>
                                         <?php echo e($currency['name']); ?></option>
                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                             </select>

                             <?php $__errorArgs = ['currency'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                 <span class="invalid-feedback"><?php echo e($message); ?></span>
                             <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                         </div>

                         <?php if (isset($component)) { $__componentOriginalcefc572cf950a78f0020a7e3b46f0442 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcefc572cf950a78f0020a7e3b46f0442 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-select','data' => ['name' => 'account_type','label' => 'Account Type','type' => 'select','class' => 'col-md-6 mb-3','value' => ''.e($user->account_type).'','options' => config('setting.accountTypes')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-select'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'account_type','label' => 'Account Type','type' => 'select','class' => 'col-md-6 mb-3','value' => ''.e($user->account_type).'','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(config('setting.accountTypes'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcefc572cf950a78f0020a7e3b46f0442)): ?>
<?php $attributes = $__attributesOriginalcefc572cf950a78f0020a7e3b46f0442; ?>
<?php unset($__attributesOriginalcefc572cf950a78f0020a7e3b46f0442); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcefc572cf950a78f0020a7e3b46f0442)): ?>
<?php $component = $__componentOriginalcefc572cf950a78f0020a7e3b46f0442; ?>
<?php unset($__componentOriginalcefc572cf950a78f0020a7e3b46f0442); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal377af9bacdfb9429d949663393821085 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal377af9bacdfb9429d949663393821085 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-input','data' => ['name' => 'security_number','label' => 'State Security Number (SSN, NI, SIN etc.)','class' => 'col-md-6 mb-3','value' => ''.e($user->security_number).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'security_number','label' => 'State Security Number (SSN, NI, SIN etc.)','class' => 'col-md-6 mb-3','value' => ''.e($user->security_number).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $attributes = $__attributesOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__attributesOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal377af9bacdfb9429d949663393821085)): ?>
<?php $component = $__componentOriginal377af9bacdfb9429d949663393821085; ?>
<?php unset($__componentOriginal377af9bacdfb9429d949663393821085); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal0d8b51fcd4a7550ec3ea27e6c1f9af94 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal0d8b51fcd4a7550ec3ea27e6c1f9af94 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.form-select','data' => ['name' => 'salary_range','label' => 'Annual Income Range','type' => 'select','class' => 'col-md-6 mb-3','value' => ''.e($user->salary_range).'','options' => config('setting.salaryRanges')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.form-select'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'salary_range','label' => 'Annual Income Range','type' => 'select','class' => 'col-md-6 mb-3','value' => ''.e($user->salary_range).'','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(config('setting.salaryRanges'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal0d8b51fcd4a7550ec3ea27e6c1f9af94)): ?>
<?php $attributes = $__attributesOriginal0d8b51fcd4a7550ec3ea27e6c1f9af94; ?>
<?php unset($__attributesOriginal0d8b51fcd4a7550ec3ea27e6c1f9af94); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal0d8b51fcd4a7550ec3ea27e6c1f9af94)): ?>
<?php $component = $__componentOriginal0d8b51fcd4a7550ec3ea27e6c1f9af94; ?>
<?php unset($__componentOriginal0d8b51fcd4a7550ec3ea27e6c1f9af94); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal1028b179d48d736fa9646b481387ec5f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1028b179d48d736fa9646b481387ec5f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.form-input','data' => ['name' => 'next_of_kin_name','label' => 'Beneficiary Legal Name','class' => 'col-md-6 mb-3','value' => ''.e($user->next_of_kin_name).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'next_of_kin_name','label' => 'Beneficiary Legal Name','class' => 'col-md-6 mb-3','value' => ''.e($user->next_of_kin_name).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $attributes = $__attributesOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__attributesOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $component = $__componentOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__componentOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal1028b179d48d736fa9646b481387ec5f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1028b179d48d736fa9646b481387ec5f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.form-input','data' => ['name' => 'next_of_kin_address','label' => 'Next of Kin Address','class' => 'col-md-6 mb-3','value' => ''.e($user->next_of_kin_address).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'next_of_kin_address','label' => 'Next of Kin Address','class' => 'col-md-6 mb-3','value' => ''.e($user->next_of_kin_address).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $attributes = $__attributesOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__attributesOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $component = $__componentOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__componentOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal1028b179d48d736fa9646b481387ec5f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1028b179d48d736fa9646b481387ec5f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.form-input','data' => ['name' => 'next_of_kin_relationship','label' => 'Relationship','class' => 'col-md-6 mb-3','value' => ''.e($user->next_of_kin_relationship).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'next_of_kin_relationship','label' => 'Relationship','class' => 'col-md-6 mb-3','value' => ''.e($user->next_of_kin_relationship).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $attributes = $__attributesOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__attributesOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $component = $__componentOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__componentOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal1028b179d48d736fa9646b481387ec5f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1028b179d48d736fa9646b481387ec5f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.form-input','data' => ['name' => 'next_of_kin_age','label' => 'Age','type' => 'number','class' => 'col-md-6 mb-3','value' => ''.e($user->next_of_kin_age).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'next_of_kin_age','label' => 'Age','type' => 'number','class' => 'col-md-6 mb-3','value' => ''.e($user->next_of_kin_age).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $attributes = $__attributesOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__attributesOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $component = $__componentOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__componentOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal1028b179d48d736fa9646b481387ec5f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1028b179d48d736fa9646b481387ec5f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.form-input','data' => ['name' => 'next_of_kin_phone','label' => 'Phone','class' => 'col-md-6 mb-3','value' => ''.e($user->next_of_kin_phone).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'next_of_kin_phone','label' => 'Phone','class' => 'col-md-6 mb-3','value' => ''.e($user->next_of_kin_phone).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $attributes = $__attributesOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__attributesOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $component = $__componentOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__componentOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal1028b179d48d736fa9646b481387ec5f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1028b179d48d736fa9646b481387ec5f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.form-input','data' => ['name' => 'next_of_kin_email','label' => 'Email','type' => 'email','class' => 'col-md-6 mb-3','value' => ''.e($user->next_of_kin_email).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'next_of_kin_email','label' => 'Email','type' => 'email','class' => 'col-md-6 mb-3','value' => ''.e($user->next_of_kin_email).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $attributes = $__attributesOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__attributesOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $component = $__componentOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__componentOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal1028b179d48d736fa9646b481387ec5f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1028b179d48d736fa9646b481387ec5f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.form-input','data' => ['name' => 'image','label' => 'Profile Image','type' => 'file','class' => 'col-md-6 mb-3','formText' => ''.e($user->image ? 'Change' : 'Upload').'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'image','label' => 'Profile Image','type' => 'file','class' => 'col-md-6 mb-3','formText' => ''.e($user->image ? 'Change' : 'Upload').'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $attributes = $__attributesOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__attributesOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $component = $__componentOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__componentOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal1028b179d48d736fa9646b481387ec5f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1028b179d48d736fa9646b481387ec5f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.form-input','data' => ['name' => 'password','label' => 'Password','type' => 'password','id' => 'new_user_password','class' => 'col-md-6 mb-3']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'password','label' => 'Password','type' => 'password','id' => 'new_user_password','class' => 'col-md-6 mb-3']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $attributes = $__attributesOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__attributesOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1028b179d48d736fa9646b481387ec5f)): ?>
<?php $component = $__componentOriginal1028b179d48d736fa9646b481387ec5f; ?>
<?php unset($__componentOriginal1028b179d48d736fa9646b481387ec5f); ?>
<?php endif; ?>

                         <div class="col-md-6 mb-3">
                             <label for="user_status" class="form-label">Status</label>
                             <select id="user_status" name="status"
                                 class="form-select <?php $__errorArgs = ['status'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                 <option value="">Select Status</option>
                                 <?php $__currentLoopData = config('setting.userStatuses'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                     <option value="<?php echo e($key); ?>" <?php if(old('status', $user->status->value) == $key): echo 'selected'; endif; ?>>
                                         <?php echo e($value); ?>

                                     </option>
                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                             </select>

                             <?php $__errorArgs = ['status'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                 <span class="invalid-feedback"><?php echo e($message); ?></span>
                             <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                         </div>
                     </div>

                     <div id="updateMessage" class="mt-3"></div>

                     <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>

                     <?php if (isset($component)) { $__componentOriginal13a88fbf273148408f775167f18e1ad3 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal13a88fbf273148408f775167f18e1ad3 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.form-button','data' => ['name' => 'Update']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.form-button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'Update']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal13a88fbf273148408f775167f18e1ad3)): ?>
<?php $attributes = $__attributesOriginal13a88fbf273148408f775167f18e1ad3; ?>
<?php unset($__attributesOriginal13a88fbf273148408f775167f18e1ad3); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal13a88fbf273148408f775167f18e1ad3)): ?>
<?php $component = $__componentOriginal13a88fbf273148408f775167f18e1ad3; ?>
<?php unset($__componentOriginal13a88fbf273148408f775167f18e1ad3); ?>
<?php endif; ?>
                 </form>
             </div>
         </div><!-- /.modal-content -->
     </div><!-- /.modal-dialog -->
 </div><!-- /.modal -->

 <?php echo $__env->make('dashboard.user.partials.script', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<?php /**PATH C:\xampp\htdocs\projects\online-banking-v7.0\resources\views/dashboard/user/partials/user_edit_modal.blade.php ENDPATH**/ ?>