@extends('layouts.admin') @section('content') @include('include.datatable-css')
{{-- Filters HTML --}}
@if (isVendor()) @include('include.create-button', ['url' => route('add-banner')]) @endif @include('include.refresh-button')
{{-- Filters HTML End --}} @include('include.flash-message')
@if (is_countable($banners)) @foreach ($banners as $banner) @endforeach @endif
Photo Title Alias Status Created By Created On Action
@if ($banner->thumbnail != NULL) @if (Storage::exists($banner->thumbnail)) photo @else photo @endif @else photo @endif {{ Str::limit($banner->title, 50, ' ...') }} {{ Str::limit($banner->alias, 50, ' ...') }} @if ($banner->active == '1') Active @else Active @endif {{ $banner->creator->accountId }} {{ $banner->created_at }}
@if (is_countable($banners)) @foreach ($banners as $banner) @endforeach @endif @include('include.datatable') @include('include.filters-common-js-part') @include('include.datatable-date-range-selector-js', ['url' => 'banners']) {{-- Page specific JS --}} @endsection