Laporan Stok Opname

Filter Laporan
@if ($filterType === 'tanggal')
@elseif($filterType === 'bulan')
@else
@endif
@php $no = 1; $total_transaksi = 0; $total_selisih = 0; @endphp @forelse($stokOpname as $item) @php $rowColor = (intdiv($no - 0, 1) % 2 == 0) ? '#fff' : '#f2f2f2'; @endphp @php $no++; $total_transaksi++; $total_selisih += ($item->selisih ?? 0); @endphp @empty @endforelse
No Tanggal Kode Barang Nama Barang Lokasi Stok Sistem Stok Nyata Selisih Keterangan
{{ $no }} {{ \Carbon\Carbon::parse($item->created_at)->format('d F Y') }} {{ $item->barang->kode ?? '-' }} {{ $item->barang->nama ?? '-' }} {{ $item->lokasi }} {{ number_format($item->stok_sistem ?? 0, 0, ',', '.') }} {{ number_format($item->stok_nyata ?? 0, 0, ',', '.') }} {{ number_format($item->selisih ?? 0, 0, ',', '.') }} {{ $item->keterangan ?? '-' }}
Tidak ada data stok opname
@if(count($stokOpname) > 0) Showing {{ ($currentPage - 1) * $perPage + 1 }} to {{ min($currentPage * $perPage, $totalPages * $perPage) }} of {{ $totalPages * $perPage }} entries @else No entries found @endif
Page {{ $currentPage }} of {{ $totalPages }}
Total Transaksi

{{ number_format($total_transaksi, 0, ',', '.') }}

Total Selisih

{{ number_format($total_selisih, 0, ',', '.') }}