| Kalem | @include('partials._column_filter_th', ['col' => 'total_amount_min', 'label' => 'Tutar', 'thClass' => $sqThClass, 'align' => 'right']) @include('partials._column_filter_th', ['col' => 'status', 'label' => 'Durum', 'thClass' => $sqThClass, 'align' => 'center']) @include('partials._column_filter_th', ['col' => 'created_at', 'label' => 'Tarih', 'thClass' => $sqThClass, 'align' => 'right'])|||||||
|---|---|---|---|---|---|---|---|
|
{{ mb_strtoupper(mb_substr($sq->contact?->display_name ?? '?', 0, 1, 'UTF-8'), 'UTF-8') }}
{{ $sq->contact?->display_name ?? '—' }}
@if($sq->contact?->phone)
{{ $sq->contact->phone }}
@endif
|
{{-- Teklif Kodu --}}
@if($sq->proposal) {{ $sq->proposal->proposal_number }} @else — @endif | {{-- Teklif Başlığı --}}
@if($sq->proposal)
@if($sq->proposal->contact)
Müşteri: {{ $sq->proposal->contact->display_name }}
@endif
@else
—
@endif
|
{{-- Kalem Sayısı --}}
@if($sq->items->count()) {{ $sq->items->count() }} @else — @endif | {{-- Tutar --}}
@if($sq->total_amount)
{{ number_format($sq->total_amount, 2, ',', '.') }}
₺ TL
@else
—
@endif
|
{{-- Durum --}}
{{ $statusCfg['label'] }} | {{-- Tarih --}}
{{ $sq->created_at->format('d.m.Y') }}
{{ $sq->created_at->diffForHumans() }}
|
{{-- Detay --}}
@if($sq->proposal) Teklife Git @else — @endif |