@extends('layouts/guest/masters.master-index') @section('opengraph') @endsection @section('tittle','VOICES AND BEATS [ EVENTS MANAGEMENT ] | HOME') @section('content') @if(Session::has('success'))
{{Session('success')}}
@endif @if(Session::has('error'))
{{Session('error')}}
@endif
@if($running_advert) @else @endif

Upcoming Events

@foreach($events as $event)
KIDS ORD VIP TABLE TEN 4 EIGHT
EARLY {{ number_format($event->ticket_category()->findorFail(App\Models\Ticket_Category::where('name','=','kids')->pluck('id')->first(),['early_price'])->pivot->early_price) ?? null ?: 'N/A' }} {{ number_format($event->ticket_category()->findorFail(App\Models\Ticket_Category::where('name','=','ordinary')->pluck('id')->first(),['early_price'])->pivot->early_price) ?? null ?: 'N/A' }} {{ number_format($event->ticket_category()->findorFail(App\Models\Ticket_Category::where('name','=','vip')->pluck('id')->first(),['early_price'])->pivot->early_price) ?? null ?: 'N/A' }} {{ number_format($event->ticket_category()->findorFail(App\Models\Ticket_Category::where('name','=','table')->pluck('id')->first(),['early_price'])->pivot->early_price) ?? null ?: 'N/A' }} {{ number_format($event->ticket_category()->findorFail(App\Models\Ticket_Category::where('name','=','ten for eight')->pluck('id')->first(),['early_price'])->pivot->early_price) ?? null ?: 'N/A' }}
GATE {{ number_format($event->ticket_category()->findorFail(App\Models\Ticket_Category::where('name','=','kids')->pluck('id')->first(),['gate_price'])->pivot->gate_price) ?? null ?: 'N/A' }} {{ number_format($event->ticket_category()->findorFail(App\Models\Ticket_Category::where('name','=','ordinary')->pluck('id')->first(),['gate_price'])->pivot->gate_price) ?? null ?: 'N/A' }} {{ number_format($event->ticket_category()->findorFail(App\Models\Ticket_Category::where('name','=','vip')->pluck('id')->first(),['gate_price'])->pivot->gate_price) ?? null ?: 'N/A' }} {{ number_format($event->ticket_category()->findorFail(App\Models\Ticket_Category::where('name','=','table')->pluck('id')->first(),['gate_price'])->pivot->gate_price) ?? null ?: 'N/A' }} {{ number_format($event->ticket_category()->findorFail(App\Models\Ticket_Category::where('name','=','ten for eight')->pluck('id')->first(),['gate_price'])->pivot->gate_price) ?? null ?: 'N/A' }}
{!! Str::limit( $event->body , 250 , '...' ); !!}

When
{{ $event->date->format('d M, Y') }}
Location
{{ $event->venue }}

@if($event->status == "open") BUY TICKET @else BUY TICKET @endif
@endforeach
@endsection