@extends('layouts.app') @section('title', 'Laporan Barang') @section('content') @php $filterQuery = request()->only('category_id', 'division_id', 'status', 'date'); @endphp
{{ $totalStock }}
Rp {{ number_format($totalValue, 0, ',', '.') }}
| No | Kode | Nama Barang | Kategori | Divisi | Stok | Harga | Total Nilai |
|---|---|---|---|---|---|---|---|
| {{ ($items->firstItem() ?? 1) + $loop->index }} | {{ $item->code }} | {{ $item->name }} | {{ $item->category->name ?? '-' }} | {{ $item->division->name ?? '-' }} | {{ $item->stock }} | Rp {{ number_format($item->price, 0, ',', '.') }} | Rp {{ number_format($item->stock * $item->price, 0, ',', '.') }} |
| Belum ada data barang. | |||||||
| Total | {{ $totalStock }} | Rp {{ number_format($totalValue, 0, ',', '.') }} | |||||