Raporlar

Satış, stok ve finans raporlarınızı görüntüleyin.

Bu Ay Sipariş
{{ $thisMonthOrders }}
Bu Ay Ciro
₺{{ number_format($thisMonthRevenue, 2, ',', '.') }}

Şubelere Özel Rapor

Belirtilen tarih aralığında şubelerin verdiği toplam sipariş tutarı.

Excel İndir @if(request('branch_date_from') || request('branch_date_to')) Temizle @endif
@php $totalsByCurrency = collect($branchTotals ?? [])->groupBy('currency')->map(function($rows) { return [ 'count' => $rows->sum(fn($r) => (int) $r->orders_count), 'amount' => $rows->sum(fn($r) => (float) $r->total_amount), ]; }); @endphp @forelse(($branchTotals ?? collect()) as $row) @php $branch = $row->branch_name ?: ($row->dealer_name ?? ''); @endphp @empty @endforelse
Şube Kodu Şube Sipariş Toplam Tutar Para Birimi
{{ $row->dealer_code ?? '-' }} {{ $branch ?: '-' }} {{ number_format((int) $row->orders_count, 0, ',', '.') }} {{ number_format((float) $row->total_amount, 2, ',', '.') }} {{ $row->currency ?? '-' }}
Seçilen tarih aralığında kayıt bulunamadı.
@if(($branchTotals ?? collect())->count())
@foreach($totalsByCurrency as $currency => $t)
Toplam ({{ $currency ?: '-' }})
{{ number_format((float) $t['amount'], 2, ',', '.') }}
{{ number_format((int) $t['count'], 0, ',', '.') }} sipariş
@endforeach
@endif

Son 30 Gün Satış Trendi

En Çok Satılan Ürünler

@forelse($topProducts as $product)
@if($product->image_url) {{ $product->name }} @else @endif
{{ $product->name }}
SKU: {{ $product->sku }}
{{ $product->order_items_count }}
Satış
@empty

Henüz satış yok.

@endforelse

Düşük Stok Uyarısı

@forelse($lowStock as $inv) @empty @endforelse
Ürün Toplam Rezerve Mevcut Durum
{{ $inv->product->name }} {{ $inv->stock_qty }} {{ $inv->reserved_qty }} {{ $inv->stock_qty - $inv->reserved_qty }} Düşük
Düşük stoklu ürün yok.