@extends('admin.layout.base') @section('title') {{'Categories'}} @endsection @push('inlineStyle') @endpush @section('content')

List Of All Categories

List of all achievements categories. Cancel @can('category-create') New @endcan

@include('admin.layout.includes.successWalert')
Categories
@if(count($cats) > 0) @foreach($cats as $cat) @endforeach @else @endif
Name Description Actions
{{ucfirst($cat->name)}} {{mb_strimwidth(ucfirst($cat->desc),0,100,'...')}}
@can('category-list') View @endcan @can('category-edit') Edit @endcan
@can('category-delete')
{!! Form::open(['method' => 'DELETE', 'route' => ['category.destroy', $cat->id], 'onsubmit' => 'return confirmDelete()']) !!} @csrf {!! Form::close() !!}
@endcan
No record uploaded
{{ $cats->render("pagination::simple-bootstrap-4") }}
@endsection @push('inlineJs') @endpush