@extends('admin.layout') @section('content')

All Menu

@can('create-menu')  Add New Menu @endcan
@can('create-menu')
@endcan
@can('create-menu') @endcan
@if($menus) @foreach($menus as $key=>$item) @endforeach @endif
# Title URL Status Actions
{{ $key+$menus->firstItem() }} {{ (!empty($item->parent_id) || $item->parent_id!=0)?$parentCatArr[$item->parent_id] . ' > ':''}} {{ $item->title }} {{ (!empty($item->route) AND $item->route!='#')?url( $item->route ):$item->route }} {{ $status["$item->status"] }} @can('update-menu') @endcan @can('delete-menu')
{{ method_field('DELETE') }} {{ csrf_field() }}
@endcan
{{ $menus->appends(request()->input())->links() }}
@endsection