@extends('backend.superadmin.index') @section('body')

Ad List

@if(session('success'))
@endif @if(session('error'))
@endif @if($errors->any())
@endif
Type
Ads Placement
Status
@foreach($ads as $key=>$ad) @endforeach
SN Image Title/Company Type Ad Placement Status Expiry Date Action
{{++$key}} @php $image_url = config('filesystems.asset').'/'.'adverts'; @endphp {{$ad->title}}
Client : {{$ad->company_name}}
{{$ad->type}}
{{$ad->size}}
@if(isset($ad->ads_place->name)){{$ad->ads_place->name}}@endif @if($ad->status=='approved') Approved @elseif($ad->status=='pending') Pending @else Rejected @endif {{date('d-M, Y',strtotime($ad->expiry_date))}}
@endsection