@php $establishment = $document->establishment; $customer = $document->customer; //$path_style = app_path('CoreFacturalo'.DIRECTORY_SEPARATOR.'Templates'.DIRECTORY_SEPARATOR.'pdf'.DIRECTORY_SEPARATOR.'style.css'); $document_number = $document->series.'-'.str_pad($document->number, 8, '0', STR_PAD_LEFT); // $document_type_driver = App\Models\Tenant\Catalogs\IdentityDocumentType::findOrFail($document->driver->identity_document_type_id); $document_type_dispatcher = App\Models\Tenant\Catalogs\IdentityDocumentType::findOrFail($document->dispatcher->identity_document_type_id); $accounts = \App\Models\Tenant\BankAccount::where('show_in_documents', true)->get(); // dd($document->reference_document->total); // dd($document->total); @endphp
{{--Item | Código | Descripción | Modelo | Unidad | Cantidad |
---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $row->item->internal_id }} |
@if($row->name_product_pdf)
{!!$row->name_product_pdf!!}
@else
{!!$row->item->description!!}
@endif
@if($row->attributes)
@foreach($row->attributes as $attr)
{!! $attr->description !!} : {{ $attr->value }} @endforeach @endif @if($row->discounts) @foreach($row->discounts as $dtos) {{ $dtos->factor * 100 }}% {{$dtos->description }} @endforeach @endif @if($row->relation_item->is_set == 1) @inject('itemSet', 'App\Services\ItemSetService') @foreach ($itemSet->getItemsSet($row->item_id) as $item) {{$item}} @endforeach @endif @if($document->has_prepayment) *** Pago Anticipado *** @endif |
{{ $row->item->model ?? '' }} | {{ $row->item->unit_type_id }} | @if(((int)$row->quantity != $row->quantity)) {{ $row->quantity }} @else {{ number_format($row->quantity, 0) }} @endif |
DETALLES DEL PEDIDO CON I.G.V | ||
---|---|---|
VALOR DE PEDIDO | VALOR DE LA FACTURA | NIVEL DE SERVICIO |
{{$document->reference_document->total}} | {{$document->reference_document->total}} | 100% |
Para transacciones
@if(in_array($document->reference_document->document_type->id,['01','03']))
Son: {{ $row->value }} {{ $document->reference_document->currency_type->description }} @if (count((array) $document->reference_document->legends)>1)Leyendas @endif @else{{$row->code}}: {{ $row->value }} @endif @endforeach |
|
---|
Los tiempos de entrega se pueden retrasar ocasionalmente por diferente imprevistos | A la firma /sello del presente documentos se tiene por recibida la conformidad de la mercaderia. FIRMA/SELLO |
No se aceptan reclamaciones posteriores a la firma de este documento, favor de verificar que su mercaderia le recibió completa y en buen estado. |
{{$textDocumentType}} |
{{$series }}-{{$number}} |
ORDEN DE PEDIDO |
{{ ($document->order_form) ? $document->order_form->number_full : "" }} |
NOTA DE VENTA |
{{ ($document->sale_note) ? $document->sale_note->number_full : "" }} |