| Durum | Sipariş Sayısı | Toplam Tutar |
|---|---|---|
| @php $statusNames = [ 'pending' => 'Beklemede', 'confirmed' => 'Onaylandı', 'processing' => 'Hazırlanıyor', 'shipped' => 'Kargoya Verildi', 'delivered' => 'Teslim Edildi', 'cancelled' => 'İptal Edildi', ]; @endphp {{ $statusNames[$status->status] ?? $status->status }} | {{ number_format($status->count, 0, ',', '.') }} | ₺{{ number_format($status->total, 2, ',', '.') }} |
| Sıra | Ürün Kodu | Ürün Adı | Satış Adedi |
|---|---|---|---|
| {{ $index + 1 }} | {{ $product->sku }} | {{ $product->name }} | {{ number_format($product->order_items_count, 0, ',', '.') }} |
Henüz satış verisi bulunmamaktadır.
@endif| Ürün Kodu | Ürün Adı | Toplam Stok | Rezerve | Mevcut | Durum |
|---|---|---|---|---|---|
| {{ $inv->product->sku }} | {{ $inv->product->name }} | {{ $inv->stock_qty }} | {{ $inv->reserved_qty }} | {{ $available }} | {{ $available > 10 ? 'Düşük' : 'Kritik' }} |
Düşük stoklu ürün bulunmamaktadır.
@endif @if($salesData->count() > 0)| Tarih | Sipariş Sayısı | Toplam Tutar |
|---|---|---|
| {{ \Carbon\Carbon::parse($day->date)->format('d.m.Y') }} | {{ number_format($day->count, 0, ',', '.') }} | ₺{{ number_format($day->total, 2, ',', '.') }} |
| TOPLAM | {{ number_format($salesData->sum('count'), 0, ',', '.') }} | ₺{{ number_format($salesData->sum('total'), 2, ',', '.') }} |