@extends('layouts.app', ['page' => __('Category'), 'pageSlug' => 'category']) @section('content')
@if(session('success')) @endif
{{ __('Add CATEGORY') }}
@csrf
@error('categoryname')

{{ $message }}

@enderror

Category

@if (auth::user()->role == 0) @endif @foreach ($category as $data) @if (auth::user()->role == 0) @endif @endforeach
S.No Category NameAction
{{$data->id}} {{$data->categoryname}}
@endsection