@extends('layouts.master') @section('title') Jackpots List @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Jackpots @endslot @slot('title') List @endslot @endcomponent @include('partials.session')

Jackpots List

@can('Manage Jackpot') @endcan
@foreach($jackpots as $item) {{-- --}} {{-- --}} @endforeach
Id Title Start Time (EST) End Time (EST) Item to be purchased Status Details Created At Action
{{$item->id}} {{$item->title}} {!!$item->platform_percentage ? '('.$item->platform_percentage.'%)' : '' !!}{{ \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', time: $item->start_time, 'UTC')->setTimezone('America/New_York')->format('Y-m-d H:i:s') }} {{ \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $item->end_time, 'UTC')->setTimezone('America/New_York')->format('Y-m-d H:i:s') }}{{ $item->start_time }} {{ $item->end_time }} {{$item->digital_item->name}} @if($item->is_active) Active @else Inactive @endif
@if($item->standings) @foreach($item->standings as $standing)
Rank {{$standing->standing}}
@if($standing->starting_balance != null)
Starting Balance: {{$standing->starting_balance}}
@endif
Percentage: {{$standing->percentage}}
Rewards:
@foreach($standing->standing_rewards as $reward) {{$reward->quantity}} x {{$reward->digital_item->name}} @endforeach

@endforeach @endif
{{$item->created_at->diffForHumans()}}
@endsection @section('script') @endsection