@php $columns = [ ['label' => 'Id', 'column' => 'id', 'sort' => true], ['label' => 'Brand Name', 'column' => 'name', 'sort' => true], ['label' => 'Description', 'column' => 'description', 'sort' => true], ['label' => 'Status', 'column' => 'status', 'sort' => true], ['label' => 'Actions', 'column' => 'action', 'sort' => false], ]; @endphp @foreach ($categories as $key => $item) {{ $item->id }} {{ $item->name }} {{ $item->description }} @if ($item->status) Active @else In-Active @endif {{-- --}} {{-- --}}
@csrf
@csrf
@endforeach
@push('scripts')