warning Stok Uyarıları

@if ($alertCount > 0)
@if ($criticalNegativeCount > 0) Negatif: {{ $criticalNegativeCount }} @endif @if ($criticalZeroCount > 0) Tükendi: {{ $criticalZeroCount }} @endif @if ($criticalCount > 0) Kritik: {{ $criticalCount }} @endif @if ($warningCount > 0) Düşük: {{ $warningCount }} @endif
@forelse ($alertItems as $item)
{{ $item['name'] }} @if ($item['alert_status'] === 'critical-negative') {{ number_format($item['current_quantity'], 3, ',', '.') }} {{ uom_localized($item['uom']) }} - NEGATİF STOK @elseif ($item['alert_status'] === 'critical-zero') {{ number_format($item['current_quantity'], 3, ',', '.') }} {{ uom_localized($item['uom']) }} - STOK TÜKENDİ @elseif ($item['alert_status'] === 'critical') {{ number_format($item['current_quantity'], 3, ',', '.') }} {{ uom_localized($item['uom']) }} - KRİTİK SEVİYE @else {{ number_format($item['current_quantity'], 3, ',', '.') }} {{ uom_localized($item['uom']) }} - DÜŞÜK STOK @endif
{{ number_format($item['last_supplier_price'], 2, ',', '.') }}₺ - Son alış fiyatı
{{-- @if (isset($item['price_histories']) && count($item['price_histories']) > 0)
@foreach($item['price_histories'] as $history)
{{ number_format($history->price, 2) }}₺ @if(!empty($history->market_name)) {{ $history->market_name }} @endif "{{ $history->name }}" @if(isset($item['has_high_similarity']) && $item['has_high_similarity'] && isset($item['similarity_percentage'])) star @endif
{{ $history->scraped_at->format('d.m.Y H:i') }}
@endforeach
@elseif (isset($item['price_histories']))
Fiyat bilgisi bulunamadı
@endif --}}
{{-- refresh --}}
@empty
Stok uyarısı bulunamadı
@endforelse
@else {{-- Check if any items have min_quantity set --}} @if (!\App\Models\StockItem::hasItemsWithMinQuantity())
info

Düşük Stok Seviyesi Belirleyin

Stok kartlarına düşük stok seviyesi belirleyerek, belirlenen değerin altına düştüklerinde burada uyarı alabilirsiniz.

@else
done_all

Herşey tamam!

Tüm stoklar yeterli seviyede.

@endif @endif
@push('scripts') @endpush