{{ $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' }}

PRESUPUESTO

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

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

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

Tipo: P - Cod.99

DATOS DEL CLIENTE @php $totalWeight = $quoteItems->sum(function($item) { return ($item->quantity ?? 1) * ($item->product->weight ?? 0.5); }); @endphp
Razon Social: {{ strtoupper($quote->first_name . ' ' . $quote->last_name) }} CUIT: {{ $quote->tax_id ?? '-' }}
Domicilio: {{ strtoupper($quote->address) }} Cond. IVA: {{ $quote->customer_type == 'business' ? 'RESPONSABLE INSCRIPTO' : 'CONSUMIDOR FINAL' }}
Localidad: {{ strtoupper($quote->city) }} Cond. Venta: {{ strtoupper($quote->payment_terms ?? 'CONTADO') }} @if($quote->delivery_date) | Fecha.Entrega: {{ \Carbon\Carbon::parse($quote->delivery_date)->format('d/m/Y') }} @endif
Provincia: {{ strtoupper($quote->state) }} Remito: @if($totalWeight > 0) | Peso Total: {{ number_format($totalWeight, 3) }} @endif
CP: {{ $quote->zip }}
@foreach($quoteItems as $item) @php $subtotal = $item->quantity * $item->unit_price; $discount = $subtotal * (($item->discount_percentage ?? 0) / 100); $total = $subtotal - $discount; @endphp @endforeach @php $itemCount = count($quoteItems); $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->quantity, 2) }} U {{ strtoupper($item->name) }} {{ number_format($item->unit_price, 2) }} {{ number_format($item->discount_percentage ?? 0, 2) }} {{ number_format($total, 2) }}
             
@php $ivaBase = $quote->subtotal - ($quote->discount ?? 0); $iva21 = $ivaBase * 0.21; $totalConIva = $ivaBase + $iva21; $finalTotalWithShipping = $totalConIva + ($quote->shipping ?? 0); @endphp
Subtotal Descuento Neto Gravado IVA (21.00%) IVA (10.50%) Otros (0.00%) TOTAL
{{ number_format($quote->subtotal, 2, ',', '.') }} {{ number_format($quote->discount ?? 0, 2, ',', '.') }} {{ number_format($ivaBase, 2, ',', '.') }} {{ number_format($iva21, 2, ',', '.') }} 0,00 {{ number_format($quote->shipping ?? 0, 2, ',', '.') }} {{ number_format($finalTotalWithShipping, 2, ',', '.') }}

Son Pesos: Cantidad en letras.

@if($quote->admin_notes)

Nota: {{ strtoupper($quote->admin_notes) }}

@endif

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