@extends('layouts.frontend.master') @section('title', ($contest->contest_number ?? $contest->contest_no) . ' - ' . $contest->title) @section('css') @endsection @section('style') @endsection @section('content')
image
  • Home
  • Contest List
  • Contest No: {{ $contest->contest_number ?? ($contest->contest_no ?? '') }}
{{-- {{dd($ticketSoldOut, $contest->qty)}} --}} @if ($endDate > now() && $ticketSoldOut != $contest->qty)

This competition ends in:

@endif
@if (count($contest->images)) @foreach ($contest->images as $key => $image)
@if (!empty($image->path) && Storage::exists($image->path)) {{ $contest->title . ' Banner Image' }} @else image @endif
@endforeach @else
image
@endif
@if (count($contest->images)) @foreach ($contest->images as $key => $image)
@if (!empty($image->path) && Storage::exists($image->path)) {{ $contest->title . ' Banner Image' }} @else image @endif
@endforeach @else
image
@endif

Enter now for a chance to win

{{ $contest->title }}

Winning Amount: {{ config('app.currency_symbol') }}{{ $contest->winning_amount ?? ($contest->winning_amount ?? '') }}
Prize Delivery: Online Bank Transfer / In Hand Delivery

This competition has a maximum of {{ $contest->qty }} entries.

Contest no: {{ $contest->contest_number ?? ($contest->contest_no ?? '') }}

Tickets Sold

@php $soldTickets = $contest->orderTickets->count(); $remainingContests = $contest->qty - $contest->orderTickets->count(); @endphp
{{ $soldTickets }} {{ $contest->qty }}

Only {{ $remainingContests }} remaining!

@if ($endDate > now() && $ticketSoldOut != $contest->qty)
{{ config('app.currency_symbol') }}{{ $contest->price }} Per ticket
Quantity
{{-- @if (Auth::check()) --}} {{-- @else @endif --}}
@else
@if (!empty($soldOutImg)) @else Contest Expired OR Ticket SoldOut. @endif
@endif {{-- {!! Share::page(route('contest-details', ['id' => $contest->id, 'slug' => $contest->slug]))->facebook()->twitter()->linkedin() !!} --}}
{{--

Vehicle Overview

{!! $contest->description !!}

Specifications

image

0-62mph

4.0 secs
image

Top Speed

181 mph
image

Power

542 bhp
image

Displacement

4.0ltr
image

bhp

691
image

Year

2019
--}}

Competition Details

{!! $contest->competition_details !!}

@endsection @section('script') @if ($endDate) @endif @endsection