@php $c = $quote->quote_colors ?? []; $cPrimary = $c['primary'] ?? '#7B2032'; $wineColor = $cPrimary; @endphp {{-- New-Unity ERP | Modules/Sales/Resources/Views/quotes/quote1_pdf.blade.php | v1.0 | 18/06/2026 --}} {{-- v1.0 — Formato 1 Cotización: Minimalista — replica invoice3_pdf sin CFDI/QR/timbrado. --}} {{ $quote->folDisplay() }} {{-- ══ TOP BAR ══ --}}
@if(!empty($company->logo ?? '')) @endif
{{ $company->company_name ?? $company->name ?? '' ?? '' }}
RFC: {{ $company->rfc ?? '' ?? '' }} @if(!empty($company->street ?? '' ?? ''))
{{ $company->street ?? '' ?? '' }} @endif @php $loc = implode(', ', array_filter([$company->city ?? '' ?? '', $company->state ?? '' ?? '', $company->country ?? '' ?? ''])); @endphp @if($loc)
{{ $loc }} CP {{ $company->postal_code ?? '' ?? '' }}@endif
@php $prefix = App\Modules\Sales\Models\SalesSetting::get('quote_prefix', 'COT'); @endphp
Cotización
{{ strtoupper($prefix) }}-{{ $quote->fol }}
{{ \Carbon\Carbon::parse($quote->created_at)->format('d/m/Y') }}
{{-- ══ RECEPTOR ══ --}}
{{ $quote->customer_name }}
RFC:
{{ $quote->customer_rfc }}
Domicilio:
{{ $quote->customer_address ?? '—' }}
Atención:
{{ $quote->contact->name ?? '—' }}
Orden de Compra:
{{ $quote->purchase_order ?? '—' }}
{{-- ══ CONDICIONES ══ --}}
Fecha
{{ \Carbon\Carbon::parse($quote->created_at)->format('d/m/Y') }}
Vigencia
{{ \Carbon\Carbon::parse($quote->expiration_date)->format('d/m/Y') }}
Días Crédito
{{ $quote->credit_days ?? 0 }} días
Moneda
{{ $quote->currency ?? 'MXN' }}
Condiciones de Pago
{{ $quote->condition_pay ?? '—' }}
Tiempo de Entrega
{{ $quote->delivery_time ?? '—' }}
{{-- ══ TABLA PARTIDAS ══ --}} @foreach($quote->products as $detail) @endforeach @for($i = 0; $i < 10; $i++) @endfor
Cant. Unidad No. Parte Descripción P. Unitario Desc. % Importe
{{ $detail->quantity }} {{ $detail->unity ?? 'H87' }} {{ $detail->sku ?? $detail->product_id }} {!! html_entity_decode($detail->product_name, ENT_QUOTES, 'UTF-8') !!} @if(!empty($detail->description))
{!! html_entity_decode($detail->description, ENT_QUOTES, 'UTF-8') !!} @endif
${{ number_format((float)$detail->sales_price, 2, '.', ',') }} {{ $detail->disc_per ?? 0 }}% ${{ number_format((float)$detail->amount, 2, '.', ',') }}
{{-- ══ TOTALES + NOTAS ══ --}}
{{-- Notas / Observaciones --}} @if(!empty($quote->notes))
Observaciones / Notas
{{ $quote->notes }}
@endif
Subtotal: ${{ number_format((float)$quote->subtotal, 2, '.', ',') }}
Descuento: ${{ number_format((float)$quote->discount, 2, '.', ',') }}
IVA {{ $quote->tax_perc }}%: ${{ number_format((float)$quote->tax, 2, '.', ',') }}
Total: ${{ number_format((float)$quote->total, 2, '.', ',') }} {{ $quote->currency }}
{{-- ══ PIE FIJO ══ --}}