@extends('backend.partials.master') @section('title','Category | Index') @section('maincontent')
@if ($message = Session::get('success'))
{{ $message }}
@endif @if ($message = Session::get('danger'))
{{ $message }}
@endif
Data Tables - Print, Excel, CSV, PDF Buttons

This example shows DataTables and the Buttons extension being used with the Bootstrap 4 framework providing the styling.

@if ( hasPermission('category_update') || hasPermission('category_delete') ) @endif @php $i=1; @endphp @foreach($categorys as $category) @if ( hasPermission('category_update') || hasPermission('category_delete') ) @endif @endforeach
# Name DescriptionAction
{{$i++}} {{$category->name}} {{$category->description}}
@endsection(); @push('styles') @endpush @push('scripts') @endpush