@extends('admin.master') @section('title','Manage Categories') @section('body')

Category DataTable

{{session('message')}}

@foreach($categories as $category) {{----}} @endforeach
SL Category Name Description Status Action
{{ $loop->iteration }} {{ $category->name }}{{ $category->description}} {{ $category->status ==1 ? 'Published' : 'Unpublished' }} | {{ $category->home_status ==1 ? 'Home' : 'not Home' }} | {{ $category->top_status ==1 ? 'Top' : 'not Top' }} {{--
@csrf @method('DELETE')
--}}
@endsection