@extends('layouts.app') @section('content')

🛒 Compras

recentes
{{--
1 HONDA POP 110i VERMELHA 2023
18/08/2023 às 13h21
1 HONDA POP 110i VERMELHA 2023
Aguardando Pagamento
006927059931074626076940142341160758209204247648249651275133314222350368397540411920427462464197474150474913475503485766486008491609530944555833565256608405649799651776664415716471718952790017814620823991829550836482904779923954986935994004
Efetuar pagamento
--}} @foreach ($reservas as $reserva)
{{ date('d/m/Y H:i', strtotime($reserva->created_at)) }}
{{ $reserva->rifa()->name }}
{{ $reserva->status() }} ({{ $reserva->pagos + $reserva->reservados }} COTAS) @if ($reserva->pagos > 0)
@if ($reserva->rifa()->modo_de_jogo == 'numeros') @foreach ($reserva->pagos() as $numPago) {{ $numPago }} @endforeach @else @foreach ($reserva->pagos() as $numPago) {{ $numPago->grupoFazendinha() }} @endforeach @endif
@else
@if ($reserva->rifa()->type_raffles == 'automatico') Números serão gerados após o pagamento! @else @foreach ($reserva->reservados() as $numRes) {{ $numRes }} @endforeach @endif
@if ($reserva->qtdReservados() > 0)
Efetuar pagamento
@endif @endif
@endforeach
@include('layouts.footer')


@endsection