Cari Hesap Durumu
@if($company->logo_light) Logo @else {{ $company->name }} @endif
{{ $company->address }} Tel: {{ $company->phone ?? '-' }} | E-posta: {{ $company->email ?? '-' }}
CARİ HESAP EKSTRESİ
Tarih: {{ now()->translatedFormat('d F Y H:i') }}
Müşteri Bilgileri
{{ $customer->first_name }} {{ $customer->last_name }}
Müşteri Kodu: {{ $customer->customer_code }}
Telefon: {{ $customer->phone }}
@if($customer->email)
E-posta: {{ $customer->email }}
@endif
Adres
{{ $customer->address ?: 'Adres belirtilmemiş.' }}
Toplam Sipariş Tutarı @moneyWithCurrency($totalOrders, $company->currency)
Toplam Tahsil Edilen @moneyWithCurrency($totalPaid, $company->currency)
Kalan Toplam Bakiye @moneyWithCurrency($totalBalance, $company->currency)

Sipariş Geçmişi

@forelse($customer->orders as $order) @php $statusClasses = [ 'draft' => 'badge-secondary', 'active' => 'badge-warning', 'completed' => 'badge-success', 'cancelled' => 'badge-danger', 'delivered' => 'badge-success', 'Draft' => 'badge-secondary', 'In Production' => 'badge-warning', 'Ready for Trial' => 'badge-warning', 'Completed' => 'badge-success', 'Delivered' => 'badge-success', ]; $statusLabels = [ 'draft' => __('orders.status_draft'), 'active' => __('orders.status_active'), 'completed' => __('orders.status_completed'), 'cancelled' => __('orders.status_cancelled'), 'delivered' => __('orders.status_delivered'), 'Draft' => __('orders.status_draft'), 'In Production' => __('orders.status_in_production'), 'Ready for Trial' => __('orders.status_ready_for_trial'), 'Completed' => __('orders.status_completed'), 'Delivered' => __('orders.status_delivered'), ]; $class = $statusClasses[$order->status] ?? 'badge-secondary'; @endphp @empty @endforelse
Sipariş No Sipariş Tarihi Durum Sipariş Tutarı Alınan Kapora Kalan Bakiye
{{ $order->order_number }} {{ $order->order_date->format('d.m.Y') }} {{ $statusLabels[$order->status] ?? $order->status }} @moneyWithCurrency($order->total_price, $order->currency) @moneyWithCurrency($order->advance_payment, $order->currency) @moneyWithCurrency($order->balance, $order->currency)
Kayıtlı sipariş bulunamadı.

Faturalar ve Tahsilat Geçmişi

@forelse($customer->invoices as $invoice) @php $statusClasses = [ 'unpaid' => 'badge-danger', 'partial' => 'badge-warning', 'paid' => 'badge-success', ]; $class = $statusClasses[$invoice->status] ?? 'badge-secondary'; @endphp @empty @endforelse
Fatura No Fatura Tarihi Fatura Durumu Fatura Tutarı Ödenen Tutar Kalan Tutar
{{ $invoice->invoice_number }} {{ $invoice->invoice_date->format('d.m.Y') }} {{ __('invoices.status_' . $invoice->status) }} @moneyWithCurrency($invoice->total_amount, $invoice->currency) @moneyWithCurrency($invoice->paid_amount, $invoice->currency) @moneyWithCurrency($invoice->due_amount, $invoice->currency)
Kayıtlı fatura bulunamadı.