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) }}




@foreach($ticket->ticketDetails as $detail) @endforeach
@if($detail->status === App\TicketDetail::STATUS_ACTIVE) {{ str_limit($detail->horse->name, 15) }} @elseif($detail->status === App\TicketDetail::STATUS_NULL) {{ str_limit($detail->horse->name, 15) }} @endif @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) {{ $priceTable = $detail->horse->runs()->find($ticket->run_id)->pivot->static_table }} @endif @if($detail->status === App\TicketDetail::STATUS_ACTIVE) {{ $detail->tables }} @elseif($detail->status === App\TicketDetail::STATUS_NULL) {{ $detail->tables }} @endif @if($detail->status === App\TicketDetail::STATUS_ACTIVE) {{ $detail->tables * $priceTable }} @elseif($detail->status === App\TicketDetail::STATUS_NULL) {{ $detail->tables * $priceTable }} @endif @if($detail->status === App\TicketDetail::STATUS_ACTIVE) {{ $detail->gain_amount }} @elseif($detail->status === App\TicketDetail::STATUS_NULL) {{ $detail->gain_amount }} @endif

SUBTOTAL {{ number_format($ticket->totalForTables(), '2', ',', '.') }} {{ number_format($ticket->totalForGains(), '2', ',', '.') }}


TOTAL {{ number_format($ticket->totalActiveAmount(), '2', ',', '.') }}

REVISE SU TICKET

VALIDO POR 5 DIAS