@extends('layouts.web') @section('title', 'Apostas em Jogos de Futebol | Cassino Online '.config('setting')['software_name']) @section('seo') @endsection @push('styles') @endpush @section('content')
@include('includes.navbar_left')
@include('includes.navbar_top')

Todas as apostas

@foreach($soccerEvents as $matche) @php $createdAt = \Carbon\Carbon::parse($matche->event_day); $dataFormatada = $createdAt->format('d/m'); $nomeDiaSemana = $createdAt->translatedFormat('l'); $horaFormatada = $createdAt->format('H:i'); @endphp
@include('includes.futbol-card', [ 'title' => $matche->name, 'reward' => $matche->betsAmounts > 0 ? \Helper::amountFormatDecimal($matche->betsAmountsWithPercent) : 'Calculando...', 'cover' => $matche->cover, 'result_team_a' => $matche->event_result_a, 'logo_team_a' => asset('storage/'.$matche->event_a_logo), 'title_team_a' => $matche->event_a, 'result_team_b' => $matche->event_result_b, 'logo_team_b' => asset('storage/'.$matche->event_b_logo), 'title_team_b' => $matche->event_b, 'url' => url('/bets/'. base64_encode($matche->id)), 'date' => $dataFormatada.' • '.$nomeDiaSemana.' • '.$horaFormatada, 'istoday' => \Carbon\Carbon::parse($matche->event_day)->isToday(), 'category' => $matche->betCategory->name ])
@endforeach
{{ $soccerEvents->links() }}
@endsection @push('scripts') @endpush