@extends('adminlte::page') @section('title', 'All Services') @section('content_header')

All Services

@stop @section('content')
@if (count($errors) > 0)
Whoops! There were some problems with your input.
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (session('success'))
{{ session('success') }}
@endif
{{-- --}} @foreach ($services as $service) {{-- --}} @endforeach
# Title Image Category Featured Status Action
{{ $loop->iteration }} {{ $service->title }} @if ($service->image) @else @endif {{ $service->category->title ?? 'NA' }} @if ($service->featured) Yes @else No @endif @if ($service->status) Active @else Pending @endif
@csrf @method('delete')
@stop @section('css') @stop @section('js') {{-- hide notifcation --}} {{-- Sucess and error notification alert --}} @endsection