@if ($event->configuration['labeled'] == 1)
Para que cada persona reciba su boleta en su buzón de correo, es necesario indicar el email para cada boleta.
@endif
| TIPO DE BOLETA |
CANTIDAD |
PRECIO UNITARIO |
TOTAL |
@foreach ($resumen as $item)
|
@if ($item->left >= 0)
@if ($event->configuration['labeled'] == 1)
-
@endif
@endif
{{ $item->name }}
|
{{ $item->qty }} |
{{ maskNumber($item->price) }} |
@if ($item->left >= 0)
{{ maskNumber($price_total) }} |
@else
{{ $item->available >= 0 ? 'No existe la cantidad solicitada' : 'No hay boletas disponibles' }}
|
@endif
@if ($item->left >= 0 && $event->configuration['labeled'] == 1)
@for ($i = 1; $i <= $item->qty; $i++)
@endfor
|
@endif
|
@for($k = 1; $k <= $item->total_sales_tickets; $k++)
{{ $k }}
@endfor
{{-- @php
var_dump($item->occupied_seats);
var_dump($item->total_sales_tickets);
@endphp --}}
|
@endforeach
|
TOTAL: {{ maskNumber($total) }}
|
@if ($coupon_required ?? false)
Tiene un cupón promocional asignado para este evento; es obligatorio ingresarlo. Se aplicará al total al confirmar.
@endif
@if (!Auth::check())
¿Estás registrado?
ACCEDE A TU CUENTA
@endif
@if ($registration_fields->count())
@if (!Auth::check())
@if ($registration_fields->firstWhere('name', 'fullname') || $registration_fields->firstWhere('name', 'email'))
DATOS DEL COMPRADOR
@endif
@endif
@endif
@php
// Si las boletas no son nominativas, se pide un correo para enviarlas todas allí
$needs_buyer_email = $event->configuration['labeled'] != 1 && !$aditional_fields->firstWhere('name', 'email_comprador');
$needs_buyer_name = $event->configuration['labeled'] != 1 && !$aditional_fields->whereIn('name', ['nombre_comprador', 'nombre'])->count();
@endphp
@if ($aditional_fields->count() || $needs_buyer_email || $needs_buyer_name)
@endif
@if (!empty($payment_methods))
@if ($payment_methods->count() > 0)
@endif
@endif
@if (!empty($payment_methods))
@if ($payment_methods->count() > 0)
@endif
@endif