@extends('layouts.admin')
@section('content')
@if(Auth::user()->role == 'admin')
@endif
Sr. No |
Name |
@if(Auth::user()->role == 'admin')
Actions |
@endif
@if($categories->count() > 0)
@php $count=1; @endphp
@foreach($categories as $category)
{{ $count }} |
{{ $category->name }} |
@if(Auth::user()->role == 'admin')
|
@endif
@php $count++; @endphp
@endforeach
@endif
@endsection