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

{{ $message }}

@enderror
@error('subcategoryname')

{{ $message }}

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

Upload Excel File Here

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

SubCategory

@if (auth::user()->role == 0) @endif @php $n = 1; @endphp @foreach ($subcategory as $data) @if (auth::user()->role == 0) @endif @endforeach
S.No Category Name SubCategoryAction
{{ $n++ }} {{$data->cateogory_title}} {{$data->subcategoryname}}
@endsection