{{-- New-Unity ERP | purchases/orders/pdf.blade.php | v1.2 | 29/06/2026 --}} {{-- v1.2 — QR code junto al No. de PO para scanner en recepción. --}} {{-- v1.1 — Rediseño completo basado en OCs BYNET/GMV. --}} {{-- Incluye: header empresa, datos proveedor, datos facturación, --}} {{-- tabla partidas con marca/SKU, totales, datos entrega, --}} {{-- condiciones, sección autorización con firmas. --}}
|
{{ $order->origin === 'direct' ? 'DIRECT PURCHASE ORDER' : 'PURCHASE ORDER' }}
{{ $order->po_number }}
Fecha: {{ $order->created_at->format('d/m/Y') }}
|
@if(isset($barcodeB64))
{!! $barcodeB64 !!}
{{ $order->po_number }}
@endif
|
| # | Cant. | U/M | SKU | Descripción del Producto | Marca | Precio Unit. | IVA% | Subtotal | Total c/IVA |
|---|---|---|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ number_format($item->quantity, 2) }} | {{ $item->unit }} | {{ $item->product?->sku ?? '—' }} |
{{ $item->product_name_snapshot }}
@if($item->notes)
{{ $item->notes }} @endif |
{{ $item->product?->brand?->validbrand_id ?? '—' }} | ${{ number_format($item->unit_cost, 2) }} | {{ $item->iva_perc }}% | ${{ number_format($item->subtotal, 2) }} | ${{ number_format($item->total_cost, 2) }} |
| Total de partidas: {{ $order->items->count() }} | ${{ number_format($order->subtotal, 2) }} | ${{ number_format($order->total, 2) }} | |||||||