@extends('admin.app') @section('content')
{{ Breadcrumbs::render('banners') }}

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

@can('banner_create') {{ __('banner.add_banner') }} @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')) Edit @endif @if (auth()->user()->can('banner_delete'))
@csrf @method('DELETE')
@endif
@endsection @push('js') @endpush