@extends('layouts.admin') @section('title', 'Kelola Layanan') @section('content')

Kelola Layanan

Kelola layanan yang ditawarkan perusahaan

Total Layanan
{{ $services->total() }}
Aktif
{{ $services->where('is_active', true)->count() }}
Unggulan
{{ $services->where('is_featured', true)->count() }}
Bulan Ini
{{ $services->where('created_at', '>=', now()->startOfMonth())->count() }}
@forelse($services as $service) @empty @endforelse
Layanan Harga Mulai Status Urutan Dibuat Aksi
@if ($service->image)
{{ $service->title }}
@elseif($service->icon)
@else
@endif
{{ $service->title }} @if ($service->is_featured) Unggulan @endif
{{ Str::limit($service->short_description ?? $service->description, 60) }}
@if ($service->price_range)
{{ $service->price_range }}
@else Belum diset @endif
@if ($service->is_active) Aktif @else Nonaktif @endif {{ $service->sort_order }} {{ $service->created_at->format('d M Y') }}

Belum ada layanan

Mulai menambahkan layanan pertama

Tambah Layanan
@if ($services->hasPages())
{{ $services->links() }}
@endif
@push('scripts') @endpush @endsection