@extends('layouts.vendor.app') @section('title', translate('messages.Campaign List')) @push('css_or_js') @endpush @section('content') @php($restaurant_id = \App\CentralLogics\Helpers::get_restaurant_id())
@foreach ($campaigns as $key => $campaign)
Warning: Undefined variable $campaign in /home/chaipost/public_html/reachstage.eelcon.in/resources/views/vendor-views/campaign/list.blade.php on line 101

Warning: Attempt to read property "restaurants" on null in /home/chaipost/public_html/reachstage.eelcon.in/resources/views/vendor-views/campaign/list.blade.php on line 101

Warning: foreach() argument must be of type array|object, null given in /home/chaipost/public_html/reachstage.eelcon.in/resources/views/vendor-views/campaign/list.blade.php on line 101
@endforeach
{{ translate('messages.sl') }} {{ translate('messages.title') }} {{ translate('messages.image') }} {{ translate('messages.date_duration') }} {{ translate('messages.time_duration') }} {{ translate('messages.status') }} {{ translate('messages.action') }}
{{ $key + $campaigns->firstItem() }} {{ Str::limit($campaign['title'], 25, '...') }}
image
{{$campaign->start_date? \App\CentralLogics\Helpers::date_format($campaign->start_date) : 'N/A'}} - {{$campaign->start_time? \App\CentralLogics\Helpers::date_format($campaign->end_date) : 'N/A' }} {{$campaign->start_time? \App\CentralLogics\Helpers::time_format($campaign->start_time). ' - ' .\App\CentralLogics\Helpers::time_format($campaign->end_time): 'N/A'}} @if ($restaurant_status == 'pending') {{ translate('messages.not_approved') }} @elseif($restaurant_status == 'confirmed') {{ translate('messages.confirmed') }} @elseif($restaurant_status == 'rejected') {{ translate('messages.rejected') }} @else {{ translate(str_replace('_', ' ', $restaurant_status)) }} @endif @if ($restaurant_status == 'rejected') {{ translate('Rejected') }} @else @if (in_array($restaurant_id, $restaurant_ids))
@csrf
@else
@csrf
@endif @endif
@if (count($campaigns) === 0)
public
{{ translate('no_data_found') }}
@endif {!! $campaigns->links() !!}
@endsection @push('script_2') @endpush