{{-- --}}
{{-- {{ $sale->product_id }}--}}
{{-- | --}}
@if($sale->seler)
{{ $sale->seler->name }}
@else
VAOPE.COM
@endif
|
{{ $sale->id }} |
@if(!empty($sale->operation_number))
{{ $sale->operation_number }}
@else
{{ $sale->purchase_number }}
@endif
|
@if($sale->client)
{{ $sale->client->name }} {{ $sale->client->paternal_name }} {{ $sale->client->maternal_name }}
@endif |
@if($sale->client)
{{ $sale->client->document_type }} {{ $sale->client->document_number }}
@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->sub_total/$sale->persons }} |
{{ $sale->sub_total }} |
{{ $sale->delivery }} |
{{ $sale->discount }} |
{{ $sale->total_price }} |
{{ $sale->paymentMethod->name }} |
@if($sale->paymentMethod->id == 1 && $sale->transaction && $sale->transaction->billing_info)
{{ $sale->transaction->billing_info['banco_emisor'] }}
{{ $sale->transaction->billing_info['tarjeta_tipo'] }}
{{ $sale->transaction->billing_info['tarjeta_marca'] }}
{{-- {{ $sale->transaction->billing_info['tarjeta'] }}--}}
@endif
|
{{ $sale->giftcard }}
@if(!empty($sale->giftcardCode))
({{ $sale->giftcardCode->comments }})
@endif
|
{{ ($comision_visa*-1) }} |
{{ ($comision_vaope*-1) }} |
{{ $depositar }} |
{{ $sale->getStageName() }} |
{{ $sale->products[0]->product_fee_id?$sale->products[0]->fee->name:'-' }} |
{{ $sale->products[0]->correlative }} |
{{ $sale->id }} |
{{ $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]->nominated_at)
{!! $sale->products[0]->nom_dni !!}
@else
-
@endif
|
@if($sale->products[0]->nominated_at)
{{ $sale->products[0]->nom_name }} {{ $sale->products[0]->nom_lastname }}
@else
-
@endif
|
@if($sale->products[0]->tipoEntrada)
{!! $sale->products[0]->tipoEntrada->name !!}
@endif
|
@if($sale->products[0]->ubicacion)
{!! $sale->products[0]->ubicacion->name !!}
@endif
|
@if($sale->products[0]->seat)
{!! $sale->products[0]->seat->seat_name !!}
@endif
|
@if($sale->products[0]->status_code == '1')
Acceso validado
@else
-
@endif
|
{{-- @php--}}
{{-- $tota_det += $sale->products[0]->total_price;--}}
{{-- @endphp--}}
@foreach($sale->products as $num => $product)
@if($num > 0)
{{ $product->product_fee_id?$product->fee->name:'-' }} |
{{ $product->correlative }} |
{{ $sale->id }} |
{{ $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->nominated_at)
{!! $product->nom_dni !!}
@else
-
@endif
|
@if($product->nominated_at)
{{ $product->nom_name }} {{ $product->nom_lastname }}
@else
-
@endif
|
@if($product->tipoEntrada)
{!! $product->tipoEntrada->name !!}
@endif
|
@if($product->ubicacion)
{!! $product->ubicacion->name !!}
@endif
|
@if($product->seat)
{!! $product->seat->seat_name !!}
@endif
|
@if($product->status_code == '1')
Acceso validado
@else
-
@endif
|
@endif
@php
$tota_det += $product->total_price;
@endphp
@endforeach
@endforeach