@extends('layouts.bootstrap') @section('title', 'Categories') @section('header')

Categories

@if(auth()->user()->canManage()) Add Category @endif @endsection @section('content')
All Categories
@if($categories->count() > 0)
@if(auth()->user()->canManage()) @endif @foreach($categories as $category) @if(auth()->user()->canManage()) @endif @endforeach
Name Subcategories Products CreatedActions
{{ $category->name }} {{ $category->subcategories_count }} {{ $category->products_count }} {{ $category->created_at->format('M d, Y') }}
@else

No Categories Found

Get started by creating your first category.

@if(auth()->user()->canManage()) Add Category @endif
@endif
@endsection