SISTEMA TU HIPICO ONLINE
{{ strtoupper($ticket->run->hippodrome->name) }}
TICKET: {{ $ticket->public_id }}
FECHA: {{ date_format($ticket->created_at, 'd-m-Y h:m') }}
CARRERA: {{ strtoupper($ticket->run->public_id) }}
CAJA: {{ strtoupper($ticket->user->name) }}
| CABALLO | PRE/TAB | CAN/TAB | TOT/TAB | GAN |
|---|
|
@if($detail->status === App\TicketDetail::STATUS_ACTIVE)
{{ str_limit($detail->horse->name, 15) }}
@elseif($detail->status === App\TicketDetail::STATUS_NULL)
|
@if($detail->status === App\TicketDetail::STATUS_ACTIVE)
{{ $priceTable = $detail->horse->runs()->find($ticket->run_id)->pivot->static_table }}
@elseif($detail->status === App\TicketDetail::STATUS_NULL)
|
@if($detail->status === App\TicketDetail::STATUS_ACTIVE)
{{ $detail->tables }}
@elseif($detail->status === App\TicketDetail::STATUS_NULL)
|
@if($detail->status === App\TicketDetail::STATUS_ACTIVE)
{{ $detail->tables * $priceTable }}
@elseif($detail->status === App\TicketDetail::STATUS_NULL)
|
@if($detail->status === App\TicketDetail::STATUS_ACTIVE)
{{ $detail->gain_amount }}
@elseif($detail->status === App\TicketDetail::STATUS_NULL)
|
| SUBTOTAL | {{ number_format($ticket->totalForTables(), '2', ',', '.') }} | {{ number_format($ticket->totalForGains(), '2', ',', '.') }} |
|---|
| TOTAL | {{ number_format($ticket->totalActiveAmount(), '2', ',', '.') }} |
|---|
REVISE SU TICKET
VALIDO POR 5 DIAS