@extends('layouts.app', ['title' => __('Banner')]) @section('admin_title') {{__('Banner')}} @endsection @section('content') @include('restorants.partials.modals')

{{ __('Add New Banner') }}

@include('partials.flash')
@csrf
@if ($errors->has('title')) {{ $errors->first('title') }} @endif


@if ($errors->has('restaurant_id')) {{ $errors->first('restaurant_id') }} @endif

@if ($errors->has('item_id')) {{ $errors->first('item_id') }} @endif
campaign image
@if ($errors->has('image')) {{ $errors->first('image') }} @endif


{{ __('Banner List') }}

@foreach($banners as $key=>$banner) @endforeach
{{ __('SL') }} {{ __('Title') }} {{ __('Type') }} {{ __('Status') }} {{ __('Action') }}
{{ $loop->iteration }} {{$banner->name}} image {{Str::limit($banner['title'], 25, '...')}} {{$banner['type']}} {{ __('crud.edit') }} {{ __('crud.delete') }}
@include('layouts.footers.auth')
@endsection @section('js') @endsection