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

{{ $message }}

@enderror
{{-- excel upload --}} {{--
@csrf

Upload Excel File Here

--}} {{-- end of excel upload --}}

Category

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