complete story 2.4 with qa test and added a feature disallowing admin from deactivating his own account
This commit is contained in:
@@ -28,7 +28,7 @@ new class extends Component {
|
||||
{{ __('clients.back_to_companies') }}
|
||||
</flux:button>
|
||||
</div>
|
||||
<div class="flex gap-2">
|
||||
<div class="flex flex-wrap gap-2">
|
||||
<flux:button variant="ghost" class="border border-amber-500 text-amber-600 hover:bg-amber-50 dark:text-amber-400 dark:hover:bg-amber-900/20" x-data x-on:click="$flux.modal('convert-to-individual').show()" icon="user">
|
||||
{{ __('clients.convert_to_individual') }}
|
||||
</flux:button>
|
||||
@@ -182,5 +182,11 @@ new class extends Component {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- Lifecycle Actions Section --}}
|
||||
<div class="mt-6 rounded-lg border border-zinc-200 bg-white p-6 dark:border-zinc-700 dark:bg-zinc-800">
|
||||
<flux:heading size="lg" class="mb-4">{{ __('clients.account_actions') }}</flux:heading>
|
||||
<livewire:admin.clients.lifecycle-actions :client="$client" />
|
||||
</div>
|
||||
|
||||
<livewire:admin.clients.convert-to-individual-modal :client="$client" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user