@if ($sale->seler)
{{ $sale->seler->name }}
@else
VAOPE.COM
@endif
|
{{ $sale->id }} |
@if ($sale->client)
{{ $sale->client->name }} {{ $sale->client->paternal_name }}
{{ $sale->client->maternal_name }}
@endif
|
@if ($sale->client)
{{ $sale->client->phone }}
@endif
|
@if ($sale->client)
{{ $sale->client->email }}
@endif
|
{{ $sale->paid_at->format('d/m/Y H:i:s') }} |
{{ $sale->persons }} |
{{ $sale->discount }} |
{{ $sale->total_price }} |
{{ $sale->paymentMethod->name }} |
{{ $sale->giftcard }}
@if (!empty($sale->giftcardCode))
({{ $sale->giftcardCode->comments }})
@endif
|
{{ $sale->utm_medium}} |
{{ $sale->utm_source}} |
{{ $sale->utm_campaign}} |
{{ $sale->products[0]->product_fee_id ? $sale->products[0]->fee->name : '-' }} |
{{ $sale->products[0]->correlative }} |
{{ $sale->products[0]->product->title_small }} |
@if ($sale->products[0]->tipoEntrada && $sale->products[0]->tipoEntrada->date_term)
{!! $sale->products[0]->tipoEntrada->date_term->format('d/m/Y') !!}
{{ $sale->products[0]->tipoEntrada->hour_term }} Hrs
@endif
|
@if ($sale->products[0]->tipoEntrada && $sale->products[0]->tipoEntrada->superProductTerms)
{!! $sale->products[0]->tipoEntrada->superProductTerms->name !!}
@endif
|
@if ($sale->products[0]->tipoEntrada)
{!! $sale->products[0]->tipoEntrada->name !!}
@endif
|
@foreach ($sale->products as $num => $product)
@if ($num > 0)
{{ $product->product_fee_id ? $product->fee->name : '-' }} |
{{ $product->correlative }} |
{{ $product->product->title_small }} |
@if ($product->tipoEntrada && $product->tipoEntrada->date_term)
{!! $product->tipoEntrada->date_term->format('d/m/Y') !!}
{{ $product->tipoEntrada->hour_term }} Hrs
@endif
|
@if ($product->tipoEntrada && $product->tipoEntrada->superProductTerms)
{!! $product->tipoEntrada->superProductTerms->name !!}
@endif
|
@if ($product->tipoEntrada)
{!! $product->tipoEntrada->name !!}
@endif
|
@endif
@endforeach
@endforeach