|
ANALISA STOCK
Laporan analisa kondisi stock dan pergerakan barang
|
Dicetak: {{ $printedAt->format('d/m/Y H:i:s') }} |
|
Gudang
@if ($warehouse)
{{ $warehouse->warehouse_code }}
-
{{ $warehouse->warehouse_name }}
@else
Semua Gudang
@endif
|
Periode
{{ $period }} Hari
|
Status
{{ $statusFilterLabel }}
|
Pencarian
{{ $search !== '' ? $search : 'Semua Produk' }}
|
Data
{{ number_format($analysis->count(), 0, ',', '.') }}
SKU
|
|
Total SKU
{{ number_format($totalSku, 0, ',', '.') }}
|
Total Stock
{{ number_format($totalQty, 2, ',', '.') }}
|
Total Masuk
{{ number_format($totalQtyIn, 2, ',', '.') }}
|
Total Keluar
{{ number_format($totalQtyOut, 2, ',', '.') }}
|
Habis
{{ number_format($outOfStock, 0, ',', '.') }}
|
Kritis
{{ number_format($critical, 0, ',', '.') }}
|
Menipis
{{ number_format($lowStock, 0, ',', '.') }}
|
|
Fast Moving
{{ number_format($fastMoving, 0, ',', '.') }}
|
Tidak Bergerak
{{ number_format($noMovement, 0, ',', '.') }}
|
Tidak Keluar
{{ number_format($noOut, 0, ',', '.') }}
|
Status yang Ditampilkan
{{ $statusFilterLabel }}
|
|||
| # | Produk | Gudang | Stock | Masuk | Keluar | Rata-rata/Hari | Estimasi Hari | Status |
|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{-- Product --}}
{{ $item['stock']->product->product_name ?? '-' }}
{{ $item['stock']->product->product_code ?? '-' }}
|
{{-- Warehouse --}}
{{ $item['stock']->warehouse->warehouse_name ?? '-' }}
{{ $item['stock']->warehouse->warehouse_code ?? '-' }}
|
{{-- Stock --}}
{{ number_format( $item['stock_qty'], 2, ',', '.' ) }} | {{-- In --}}+{{ number_format( $item['qty_in'], 2, ',', '.' ) }} | {{-- Out --}}-{{ number_format( $item['qty_out'], 2, ',', '.' ) }} | {{-- Average --}}{{ number_format( $item['avg_out_per_day'], 2, ',', '.' ) }} | {{-- Days --}}@if ($item['days_remaining'] === null) - @else {{ number_format( $item['days_remaining'], 1, ',', '.' ) }} @endif | {{-- Status --}}{{ $item['status_label'] }} |
| Tidak ada data stock berdasarkan filter yang dipilih. | ||||||||
|
Produk
{{ $stock->product->product_name ?? '-' }}
|
Kode Produk
{{ $stock->product->product_code ?? '-' }}
|
Gudang
{{ $stock->warehouse->warehouse_name ?? '-' }}
|
Stock
{{ number_format(
$item['stock_qty'],
2,
',',
'.'
) }}
|
Status
{{ $item['status_label'] }}
|
Movement
{{ number_format(
$movements->count(),
0,
',',
'.'
) }}
|
| Tanggal | Movement | Referensi | Sebelum | Masuk | Keluar | Sesudah | User | Catatan |
|---|---|---|---|---|---|---|---|---|
| @if ($movement->movement_date) {{ \Carbon\Carbon::parse( $movement->movement_date )->format( 'd/m/Y H:i' ) }} @else - @endif | {{-- Movement --}}{{ $movement->movement_type ?? '-' }} | {{-- Reference --}}{{ $movement->reference_type ?? '-' }} @if ($movement->reference_id) #{{ $movement->reference_id }} @endif | {{-- Before --}}{{ number_format( (float) $movement->qty_before, 2, ',', '.' ) }} | {{-- In --}}@if ( (float) $movement->qty_in > 0 ) +{{ number_format( (float) $movement->qty_in, 2, ',', '.' ) }} @else - @endif | {{-- Out --}}@if ( (float) $movement->qty_out > 0 ) -{{ number_format( (float) $movement->qty_out, 2, ',', '.' ) }} @else - @endif | {{-- After --}}{{ number_format( (float) $movement->qty_after, 2, ',', '.' ) }} | {{-- User --}}{{ $movement->user->name ?? '-' }} | {{-- Notes --}}{{ $movement->notes ?? '-' }} |