@php $user = auth()->user(); @endphp @extends('seller.layouts.app') @section('title') {{ __('msg.categorylist') }} | Seller @endsection @section('content')
@if ($user->can('category.edit') || $user->can('category.delete')) @endif @foreach ($categories as $key => $category) {{-- @if ($user->can('category.edit') || $user->can('category.delete')) --}} {{-- @endif --}} @endforeach
SL. {{ __('msg.name') }} {{ __('msg.icon') }} Create Icon Image {{ __('msg.action') }}
{{ $key + 1 }} {{ $category->name }}    ({{ $category->icon }}) {{ $category->admin->name }} {{-- --}} {{-- Product --}} {{-- @if ($user->can('category.edit')) @endif --}} {{--
@method('DELETE') @csrf @if ($user->can('category.delete')) @endif
--}} {{-- @if ($user->can('category.edit'))
@endif --}}
@endsection @section('style') @endsection @section('script') @endsection