{{ $company['name'] }}
@if($company['address']) {{ $company['address'] }}
@endif @if($company['phone']) {{ $company['phone'] }}
@endif @if($company['email']) {{ $company['email'] }}
@endif @if($settings->cuit) CUIT: {{ $settings->cuit }}
@endif @if($settings->ingresos_brutos) Ingresos Brutos: {{ $settings->ingresos_brutos }}
@endif Cond. IVA: RESPONSABLE INSCRIPTO
Inicio Act.: {{ $settings->start_date ?? '01/09/2023' }}

NOTA de PEDIDO

Numero: NP-{{ str_pad($order->id, 4, '0', STR_PAD_LEFT) }}

Fecha Emision: {{ $order->created_at->format('d/m/Y') }}

Hora: {{ $order->created_at->format('H:i:s') }}

Tipo: P - Cod.99

DATOS DEL CLIENTE @php $totalWeight = $orderItems->sum(function($item) { return ($item->qty ?? 1) * ($item->product->weight ?? 0.5); }); @endphp
Razon Social: {{ strtoupper($order->first_name . ' ' . $order->last_name) }} CUIT: -
Domicilio: {{ strtoupper($order->address) }} Cond. IVA: CONSUMIDOR FINAL
Localidad: {{ strtoupper($order->city) }} Cond. Venta: CONTADO
Provincia: {{ strtoupper($order->state) }} Remito: @if($totalWeight > 0) | Peso Total: {{ number_format($totalWeight, 3) }} @endif
CP: {{ $order->zip }}
@foreach($orderItems as $item) @endforeach @php $itemCount = count($orderItems); $minRows = 26; // Más filas con padding compacto de productos $emptyRows = max(0, $minRows - $itemCount); @endphp @for($i = 0; $i < $emptyRows; $i++) @endfor
Codigo Cantidad Unidad Descripcion P. Unitario Descuento Importe
@if($item->product && $item->product->CO_ARTI) {{ trim($item->product->CO_ARTI) }} @else - @endif {{ number_format($item->qty, 2) }} U {{ strtoupper($item->name) }} {{ number_format($item->price, 2) }} 0,00 {{ number_format($item->total, 2, ',', '.') }}
             
@php $ivaBase = $order->subtotal - ($order->discount ?? 0); $iva21 = $ivaBase * 0.21; $totalConIva = $ivaBase + $iva21; $finalTotalWithShipping = $totalConIva + ($order->shipping ?? 0); @endphp
Subtotal Descuento Neto Gravado IVA (21.00%) IVA (10.50%) Otros (0.00%) TOTAL
{{ number_format($order->subtotal, 2, ',', '.') }} {{ number_format($order->discount ?? 0, 2, ',', '.') }} {{ number_format($ivaBase, 2, ',', '.') }} {{ number_format($iva21, 2, ',', '.') }} 0,00 {{ number_format($order->shipping ?? 0, 2, ',', '.') }} {{ number_format($finalTotalWithShipping, 2, ',', '.') }}

Son Pesos: Cantidad en letras.

@if($order->notes)

Nota: {{ strtoupper($order->notes) }}

@endif

La mercaderia viaja por cuenta y orden del comprador.
DOCUMENTO NO VALIDO como FACTURA