|
{{ $store['name'] }}
@if($store['address']){{ $store['address'] }}
@endif @if($store['phone'])Telp. {{ $store['phone'] }}@endif @if($store['email']) | {{ $store['email'] }}@endif |
Stock Opname
{{ $opname->opname_number }}
{{ $opname->opname_date?->translatedFormat('d F Y') ?? now()->translatedFormat('d F Y') }}
|
|
Informasi Opname
|
Ringkasan
@php
$totalItems = $opname->items->count();
$plusItems = $opname->items->filter(fn($i) => (float)$i->physical_stock > (float)$i->system_stock)->count();
$minusItems = $opname->items->filter(fn($i) => (float)$i->physical_stock < (float)$i->system_stock)->count();
$sameItems = $opname->items->filter(fn($i) => (float)$i->physical_stock == (float)$i->system_stock)->count();
@endphp
|
| No | Produk | SKU | Satuan | Stok Sistem | Stok Fisik | Selisih | Catatan |
|---|---|---|---|---|---|---|---|
| {{ $idx + 1 }} | {{ $item->product?->name ?? '-' }} | {{ $item->product?->sku ?? '-' }} | {{ $item->product?->unit ?? 'Pcs' }} | {{ number_format((float) $item->system_stock, 0, ',', '.') }} | {{ number_format((float) $item->physical_stock, 0, ',', '.') }} | {{ $diffPrefix }}{{ number_format($diff, 0, ',', '.') }} | {{ $item->notes ?? '-' }} |
|
Petugas
{{ $opname->user?->name ?? '' }}
|
Disetujui Oleh
{{ $opname->approvedByUser?->name ?? '' }}
|