@include('Admin.Includes.header') @php use Illuminate\Support\Facades\Auth; $logged_in_user = Auth::user(); @endphp

{{ __('Services List') }}

@if (session('success')) @endif @if ($errors->any()) @endif

TOTAL SERVICES

{{ $services->count() }}

PUBLISHED

{{ $services->where('active', 1)->count() }}

DRAFT

{{ $services->where('active', 0)->count() }}

PRIVATE

{{ $services->where('active', 2)->count() }}

Advanced Filters
Clear
Services Table
entries
@if($services->count() > 0)
@foreach($services as $index => $service) @endforeach
# Cover Image Title Description Status Created Actions
{{ $index + 1 }} @if($service->cover_image) {{ $service->title }} @else
@endif
{{ $service->title }}
{{ $service->permalink }}
{{ Str::limit($service->description, 100) }}
@php $statusClass = [ 0 => 'bg-warning-subtle text-warning', 1 => 'bg-success-subtle text-success', 2 => 'bg-secondary-subtle text-secondary', ]; $statusText = [ 0 => 'Draft', 1 => 'Published', 2 => 'Private', ]; @endphp {{ $statusText[$service->active] ?? 'Unknown' }}
{{ $service->created_at->format('M d, Y') }}
{{ $service->created_at->format('h:i A') }}
Showing 1 to {{ $services->count() }} of {{ $services->count() }} entries
@else
No Services Found

Start by creating your first service.

Create Service
@endif