@php $document_number = $document->series . '-' . str_pad($document->number, 8, '0', STR_PAD_LEFT); $document_number_sale_note = str_pad($document->sale_note->number, 8, '0', STR_PAD_LEFT); $customer = $document->customer; @endphp @if ($company->logo)
logo}")) }};base64, {{ base64_encode(file_get_contents(public_path("storage/uploads/logos/{$company->logo}"))) }}" alt="{{ $company->name }}" class="company_logo_ticket contain">
@endif {{-- @if ($document->state_type->id == '11' || $document->state_type->id == '09')
anulado
@endif @if ($document->soap_type_id == '01')
anulado
@endif --}}
{{ $establishment->email !== '-' ? ' ' . $establishment->email : '' }}
{{ $establishment->telephone !== '-' ? $establishment->telephone : '' }}

TICKET DE ENCOMIENDA

TE01 -{{ $document_number_sale_note }}

DESTINATARIO
Razón social: {{ $customer->name }}
{{ $customer->identity_document_type->description }}: {{ $customer->number }}
Teléfono: {{ $customer->telephone }}
ENVIO
{{ $document->delivery ? $document->delivery->address : null }}
{{ $document->delivery ? func_get_location($document->delivery->location_id) : null }}
@isset($document->dispatcher->name) @php $document_type_dispatcher = App\Models\Tenant\Catalogs\IdentityDocumentType::findOrFail( $document->dispatcher->identity_document_type_id, ); @endphp
TRANSPORTE
Nombre y/o razón social: {{ $document->dispatcher->name }}
{{ $document_type_dispatcher->description }}: {{ $document->dispatcher->number }}
@endisset
@php use App\CoreFacturalo\Helpers\QrCode\QrCodeGenerate; $qrCode = new QrCodeGenerate(); $qr = $qrCode->displayPNGBase64("https://www.campograndeperu.com"); @endphp