@foreach ($saleProducts as $key=> $saleProduct) @php $direccion = @explode(",", $saleProduct->product->address); $lugar = @$direccion[0]; $ubicacion = @$direccion[1]; @endphp
@php $Col2FontSize = 18; $col2PtX = 12; if(strlen(trim($saleProduct->product->title_small)) >= 28) { $Col2FontSize = 15; $col2PtX = 25; } @endphp

{{ $saleProduct->product->title_small }}

@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
@else
@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
@if(!empty($lugar)) {{ $lugar }} @else   @endif
@if($saleProduct->sales->payment_method_id == 12) @endif

N°{{ $saleProduct->correlative }}


{{ $saleProduct->cupon_code }}

@if(!empty($saleProduct->product->ticketing_fotter_text)) ______________________

{{ $saleProduct->product->ticketing_fotter_text }}

@endif
@if($saleProduct->product->type_product_id == 3 || $saleProduct->product->type_product_id == 6) @include('frontend.pdf.boleto-inc.eventos') @else @include('frontend.pdf.boleto-inc.beneficios') @endif {{-- @if ($key--}} {{--
--}} {{--
--}} {{-- @endif--}} @endforeach()