Optimierung Phase 1: Aufraeumen / toter Code
1.1 Prototyp admin/users/table entfernt: Route (war durch admin/users/{id}
ohnehin unerreichbar) + Volt-Komponente table.blade.php geloescht,
ADMIN_ROUTES.md aktualisiert; Regressions-Test in PanelConsolidationTest.
1.2 16 tote Legacy-Wrapper-Views unter resources/views/admin/* geloescht
(nutzten alte Route-Parameter, nirgends via view/@include/@livewire
gerendert); admin.dashboard + .md-Doku behalten.
1.3 Tote Helfer entfernt: EnsureUserIsAdmin redundantes loadMissing('roles'),
ungenutzter statusColor-Key aus with() in admin PR edit/show,
LegacyInvoicePdfController Laufzeit-Schema::hasColumn (Spalte existiert
seit Migration) inkl. Schema-Import.
Volle Suite gruen (794 passed, 1 skipped).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a82964df2b
commit
a5f3ddd0f3
25 changed files with 9 additions and 329 deletions
|
|
@ -1,7 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<flux:heading size="xl" class="mb-6">{{ __('Kategorien') }}</flux:heading>
|
||||
|
||||
@livewire('admin.categories.index')
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<div class="mb-6">
|
||||
<flux:button variant="filled" icon="arrow-left" href="{{ route('admin.companies.index') }}" wire:navigate>
|
||||
{{ __('Zurück zur Übersicht') }}
|
||||
</flux:button>
|
||||
</div>
|
||||
|
||||
<flux:heading size="xl" class="mb-6">{{ __('Neue Firma') }}</flux:heading>
|
||||
|
||||
@livewire('admin.companies.create')
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<div class="mb-6">
|
||||
<flux:button variant="filled" icon="arrow-left" href="{{ route('admin.companies.index') }}" wire:navigate>
|
||||
{{ __('Zurück zur Übersicht') }}
|
||||
</flux:button>
|
||||
</div>
|
||||
|
||||
<flux:heading size="xl" class="mb-6">{{ __('Firma bearbeiten') }}</flux:heading>
|
||||
|
||||
@livewire('admin.companies.edit', ['companyId' => request()->route('company')])
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<flux:heading size="xl" class="mb-6">{{ __('Firmen') }}</flux:heading>
|
||||
|
||||
@livewire('admin.companies.index')
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<div class="mb-6">
|
||||
<flux:button variant="filled" icon="arrow-left" href="{{ route('admin.companies.index') }}" wire:navigate>
|
||||
{{ __('Zurück zur Übersicht') }}
|
||||
</flux:button>
|
||||
</div>
|
||||
|
||||
@livewire('admin.companies.show', ['companyId' => request()->route('company')])
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<flux:heading size="xl" class="mb-6">{{ __('Kontakte') }}</flux:heading>
|
||||
|
||||
@livewire('admin.contacts.index')
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<flux:heading size="xl" class="mb-6">{{ __('Gutscheine') }}</flux:heading>
|
||||
|
||||
@livewire('admin.coupons.index')
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<flux:heading size="xl" class="mb-6">{{ __('Rechnungen') }}</flux:heading>
|
||||
|
||||
@livewire('admin.invoices.index')
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<flux:heading size="xl" class="mb-6">{{ __('Zahlungen') }}</flux:heading>
|
||||
|
||||
@livewire('admin.payments.index')
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<div class="mb-6">
|
||||
<flux:button variant="filled" icon="arrow-left" href="{{ route('admin.press-releases.index') }}" wire:navigate>
|
||||
{{ __('Zurück zur Übersicht') }}
|
||||
</flux:button>
|
||||
</div>
|
||||
|
||||
<flux:heading size="xl" class="mb-6">{{ __('Neue Pressemitteilung') }}</flux:heading>
|
||||
|
||||
@livewire('admin.press-releases.create')
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<div class="mb-6">
|
||||
<flux:button variant="filled" icon="arrow-left" href="{{ route('admin.press-releases.index') }}" wire:navigate>
|
||||
{{ __('Zurück zur Übersicht') }}
|
||||
</flux:button>
|
||||
</div>
|
||||
|
||||
<flux:heading size="xl" class="mb-6">{{ __('Pressemitteilung bearbeiten') }}</flux:heading>
|
||||
|
||||
@livewire('admin.press-releases.edit', ['pressReleaseId' => request()->route('pressRelease')])
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<flux:heading size="xl" class="mb-6">{{ __('Pressemitteilungen') }}</flux:heading>
|
||||
|
||||
@livewire('admin.press-releases.index')
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<div class="mb-6">
|
||||
<flux:button variant="filled" icon="arrow-left" href="{{ route('admin.press-releases.index') }}" wire:navigate>
|
||||
{{ __('Zurück zur Übersicht') }}
|
||||
</flux:button>
|
||||
</div>
|
||||
|
||||
@livewire('admin.press-releases.show', ['pressReleaseId' => request()->route('pressRelease')])
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<div class="mb-6">
|
||||
<flux:button variant="filled" icon="arrow-left" href="{{ route('admin.roles.index') }}" wire:navigate>
|
||||
{{ __('Zurück zur Übersicht') }}
|
||||
</flux:button>
|
||||
</div>
|
||||
|
||||
<flux:heading size="xl" class="mb-6">{{ __('Neue Rolle erstellen') }}</flux:heading>
|
||||
|
||||
@livewire('admin.roles.create')
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<div class="mb-6">
|
||||
<flux:button variant="filled" icon="arrow-left" href="{{ route('admin.roles.index') }}" wire:navigate>
|
||||
{{ __('Zurück zur Übersicht') }}
|
||||
</flux:button>
|
||||
</div>
|
||||
|
||||
<flux:heading size="xl" class="mb-6">{{ __('Rolle bearbeiten') }}</flux:heading>
|
||||
|
||||
@livewire('admin.roles.edit', ['roleId' => request()->route('role')])
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<x-layouts.app>
|
||||
<flux:main>
|
||||
<flux:heading size="xl" class="mb-6">{{ __('Rollen & Rechte') }}</flux:heading>
|
||||
|
||||
@livewire('admin.roles.index')
|
||||
</flux:main>
|
||||
</x-layouts.app>
|
||||
Loading…
Add table
Add a link
Reference in a new issue