@php $participant = ['No limit', '1 KTP unique 1 for day', '1 phone unique 1 for day', '1 KTP unique on event', '1 phone unique on event']; @endphp @extends('layout.default') @include('layout.filter') @section('styles') @endsection @section('content') @yield('filter_view')
@include('layout.notifications')
@if(!empty($data)) @foreach($data as $value) @endforeach @else @endif
Action Status Event Code Type Time Start Time End Brand Product Method
List Winner
List Participant
Edit
Delete
@if(!empty($value['event_time_start']) && strtotime($value['event_time_start']) < strtotime(date('Y-m-d H:i:s')) && strtotime($value['event_time_end']) > strtotime(date('Y-m-d H:i:s'))) Started @elseif(!empty($value['event_time_start']) && strtotime($value['event_time_end']) < strtotime(date('Y-m-d H:i:s'))) Ended @else Not Started @endif {{explode("||",$value['event_unique_code'])[0]}} {{$value['event_type']}} @if(!empty($value['event_time_start'])){{date('d-m-Y H:i', strtotime($value['event_time_start']))}}@endif @if(!empty($value['event_time_end'])){{date('d-m-Y H:i', strtotime($value['event_time_end']))}}@endif {{$value['brand_name']}} {{$value['product_name']}} {{$value['event_method']}}
Data Not Available

@if (!empty($data_paginator)) {{ $data_paginator->links('pagination') }} @endif
@endsection @section('scripts') @yield('filter_script') @endsection