Día
{{ \Carbon\Carbon::parse($saleProduct->tipoEntrada->date_term)->locale('es')->isoFormat('dddd') }}
|
Fecha
{{ $saleProduct->tipoEntrada->date_term->format('d/m/Y') }}
|
Hora
{{\Carbon\Carbon::createFromFormat('H:i',$saleProduct->tipoEntrada->hour_term)->format('H:i')}} HS
|
@if($saleProduct->tipoEntrada)
{{ $saleProduct->tipoEntrada->name }}
@endif
|
@if($saleProduct->tipoEntrada)
{{ $saleProduct->tipoEntrada->line_2}}
@endif
@if($saleProduct->nominated_at)
{{ \Illuminate\Support\Str::upper($saleProduct->nom_name) }} {{ \Illuminate\Support\Str::upper($saleProduct->nom_lastname) }}
@if(!empty($saleProduct->nom_dni))
DNI/CE: {{ $saleProduct->nom_dni }}
@else
@endif
* Nominado
@else
@if(!$saleProduct->product->is_nameable)
Comprador:
@endif
@if(!empty($saleProduct->sales->client->name))
{{ \Illuminate\Support\Str::upper($saleProduct->sales->client->name) }}
@else
-
@endif
@if(!empty($saleProduct->sales->client->paternal_name))
{{ \Illuminate\Support\Str::upper($saleProduct->sales->client->paternal_name) }}
{{ \Illuminate\Support\Str::upper($saleProduct->sales->client->maternal_name) }}
@else
-
@endif
@if(!empty($saleProduct->sales->client->document_number))
DNI: {{ $saleProduct->sales->client->document_number }}
@else
@endif
@endif
válido 1 (una) persona
|
Precio Entrada:
Cargo por Servicio:
Costo Total:
|
@php
$productTermActive = DB::table('product_terms_has_product_fees')
->where([
['product_term_id', $saleProduct->tipo_entrada_id],
['product_fee_id', $saleProduct->product_fee_id]
])
->first();
@endphp
@if($saleProduct->sales->payment_method_id == 12)
S/ {{ number_format(0,2) }}
@else
@if($productTermActive->organizer_price > 0)
S/ {{ number_format($productTermActive->organizer_price, 2) }}
@else
S/ {{ number_format(0,2) }}
@endif
@endif
@if($saleProduct->term == 12)
S/ {{ number_format(0,2) }}
@else
@if($productTermActive->fixed_commission > 0)
S/ {{ number_format($productTermActive->fixed_commission, 2) }}
@else
S/ {{ number_format(0,2) }}
@endif
@endif
@if($saleProduct->sales->payment_method_id == 12)
Cortesia
@else
@if($saleProduct->sales->total_price > 0)
S/ {{ number_format($saleProduct->total_price, 2) }}
@else
S/ {{ number_format(0,2) }}
@endif
@endif
|