@extends('layouts.admin') @section('title', __('admin.services.service_categories')) @section('content')

{{ __('admin.services.service_categories') }}

{{ __('admin.services.manage_categories_for_organizing_services') }}

{{ __('admin.services.add_new_category') }}
{{ __('Total Categories') }}
{{ $categories->count() }}
{{ __('Active Categories') }}
{{ $categories->where('is_active', true)->count() }}
{{ __('Total Services') }}
{{ $categories->sum('services_count') }}
{{ __('All Categories') }}
@forelse($categories as $category) @empty @endforelse
{{ __('Icon') }} {{ __('Name') }} {{ __('Services Count') }} {{ __('Status') }} {{ __('Sort Order') }} {{ __('Created') }} {{ __('Actions') }}
@if($category->icon) @else @endif
{{ $category->name }} @if($category->description)
{{ Str::limit($category->description, 50) }} @endif
{{ $category->services_count }} @if($category->is_active) {{ __('Active') }} @else {{ __('Inactive') }} @endif {{ $category->sort_order }} {{ $category->created_at->format('M d, Y') }}
@csrf @method('DELETE')
{{ __('No categories found') }}

{{ __('Start by creating your first service category.') }}

{{ __('Create Category') }}
@endsection @push('scripts') @endpush