@extends('layout.base') @section('header-title')
Reporte
@endsection @section('content')

Desde: {{ $start->format('d-m-Y') }}

Hasta: {{ $end->format('d-m-Y') }}

@foreach($tickets as $ticket) @endforeach
Ticket Creado Estatus Taquilla Sorteo Jugado Ganado
{{ $ticket->public_id }} {{ date_format($ticket->created_at, 'd-m-Y h:m:s a') }} {{ $ticket->status }} {{ $ticket->user->name }} {{ $ticket->dailySorts[0]->sort->description . ' - ' . $ticket->dailySorts[0]->timeSortFormat() }} {{ number_format($ticket->amount(), 2, ',', '.') }} {{ number_format($ticket->payToGain(), 2, ',', '.') }}
TOTAL {{ number_format($totalAmount, '2', ',', '.') }} {{ number_format($totalGainAmount, '2', ',', '.') }}
BALANCE {{ number_format($totalAmount - $totalGainAmount, '2', ',', '.') }}
@endsection