@php $statusPill = match ($quote->status) { 'accepted' => 'aktif', 'rejected' => 'pasif', default => 'beklemede', }; @endphp PDF İndir Düzenle
{{ $statusLabels[$quote->status] ?? ucfirst($quote->status) }}
Teklif Bilgileri
Müşteri @if ($quote->company) {{ $quote->company->name }} @else — @endif
İlgili Kişi{{ $quote->contact?->fullName() ?? '—' }}
İlişkili Fırsat{{ $quote->deal?->title ?? '—' }}
Hazırlayan{{ $quote->user?->name ?? '—' }}
Geçerlilik Tarihi{{ $quote->valid_until?->format('d.m.Y') ?? '—' }}
@if ($quote->notes)
Notlar

{{ $quote->notes }}

@endif
Firma Bilgileri
Firma{{ $settings->company_name ?? '—' }}
Telefon{{ $settings->company_phone ?? '—' }}
E-posta{{ $settings->company_email ?? '—' }}
Adres{{ $settings->company_address ?? '—' }}
Kalemler
@foreach ($quote->items as $item) @endforeach
Ürün / Hizmet Miktar Birim Fiyat Tutar
{{ $item->name }} {{ number_format((float) $item->quantity, 2) }} {{ number_format((float) $item->unit_price, 2) }} {{ $quote->currency }} {{ number_format($item->lineTotal(), 2) }} {{ $quote->currency }}
Genel Toplam {{ number_format($quote->total(), 2) }} {{ $quote->currency }}