@extends('admin.layouts.master') @section('main-content')

{{ __('banner.banners') }}

{{ Breadcrumbs::render('banners') }}
@can('banner_create') @endcan
@if (auth()->user()->can('banner_edit') || auth()->user()->can('banner_delete')) @endif @if(!blank($banners)) @foreach($banners as $banner) @if (auth()->user()->can('banner_edit') || auth()->user()->can('banner_delete')) @endif @endforeach @endif
{{ __('levels.image') }} {{ __('levels.restaurant') }} {{ __('levels.title') }} {{ __('levels.status') }}{{ __('levels.actions') }}
{{$banner->restuarant->name }} {{ Str::limit($banner->title, 60, '...') }} @if ($banner->status==5) {{ ('Active') }} @else {{ ('Inactive') }} @endif @if(auth()->user()->can('banner_edit')) @endif @if(auth()->user()->can('banner_delete'))
@csrf @method('DELETE')
@endif
@endsection @section('scripts') @endsection