Yes, add cancelled, pending, and suspended service resources to admin panel

This commit is contained in:
2025-12-20 16:38:46 -05:00
parent 8a108e9604
commit 8f6ee1a7bf
17 changed files with 830 additions and 41 deletions

View File

@@ -1,7 +1,7 @@
<x-filament-panels::page>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
{{-- Active Services Card --}}
<a href="{{ route('filament.admin.resources.active-services.index') }}" class="block">
<a href="{{ \App\Admin\Resources\ActiveServiceResource::getUrl('index') }}" class="block">
<x-filament::section class="hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors cursor-pointer">
<div class="flex items-center gap-4">
<div class="p-3 rounded-full bg-success-500/10">
@@ -16,7 +16,7 @@
</a>
{{-- Pending Services Card --}}
<a href="{{ route('filament.admin.resources.pending-services.index') }}" class="block">
<a href="{{ \App\Admin\Resources\PendingServiceResource::getUrl('index') }}" class="block">
<x-filament::section class="hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors cursor-pointer">
<div class="flex items-center gap-4">
<div class="p-3 rounded-full bg-warning-500/10">
@@ -31,7 +31,7 @@
</a>
{{-- Suspended Services Card --}}
<a href="{{ route('filament.admin.resources.suspended-services.index') }}" class="block">
<a href="{{ \App\Admin\Resources\SuspendedServiceResource::getUrl('index') }}" class="block">
<x-filament::section class="hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors cursor-pointer">
<div class="flex items-center gap-4">
<div class="p-3 rounded-full bg-orange-500/10">
@@ -46,7 +46,7 @@
</a>
{{-- Cancelled Services Card --}}
<a href="{{ route('filament.admin.resources.cancelled-services.index') }}" class="block">
<a href="{{ \App\Admin\Resources\CancelledServiceResource::getUrl('index') }}" class="block">
<x-filament::section class="hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors cursor-pointer">
<div class="flex items-center gap-4">
<div class="p-3 rounded-full bg-danger-500/10">