@extends('web.layouts.main') @section('content') @push('stylesheets') @endpush
@include('web.components.counter')

{{ trans('text.loto-results') }}

    @if(isset($draw_result->balls) && $draw_result->balls) @foreach($draw_result->balls as $ball)
  • @include('web.components.loto-ball', ['number' => $ball, 'display_color' => Config::get('balls')[$ball]['color']])
  • @endforeach @endif
@if($draw_result && $draw_result->youtube) @endif
@if($draw_result) @php $idx = 0; @endphp @foreach($draw_result->results as $key => $result) @if(count($draw_result->balls) > 6 || count($draw_result->balls) < 7 && $key !== 1) @php $idx++; @endphp @endif @endforeach @endif
{{ trans('text.winning-numbers') }} {{ trans('text.total-prizes') }} {{ trans('text.no-of-winning-grids') }} {{ trans('text.prize-per-grid') }}
{{ $idx }} {{ number_format($result[1]) ? number_format($result[1]) : '' }} {{ $result[2] }} {{ number_format($result[3]) ? number_format($result[3]) : '' }}
@include('web.components.shortcuts')
@include('web.components.are-you-a-winner')
{{--
@include('web.components.our-winners')
--}}
@include('web.components.check-results')
@if($draw_result && $draw_result->youtube) @endif @endsection @push('scripts') @endpush