@section('heading', 'Laporan Daftar Item') @extends('layouts.app') @section('content')

Laporan Daftar Item

Filter Laporan

Daftar Item

@php $totalAsset = 0; @endphp @foreach($products as $product) @php $totalAsset += $product->asset; @endphp @endforeach
Kode Nama Produk Kategori Merek Total Stok Stok Min Harga Beli Harga Jual Deskripsi Aset (h.Beli*Qty)
B-{{str_pad($product->id, 4, '0', STR_PAD_LEFT)}} {{$product->name}} {{$product->category->name ?? '-'}} {{$product->brand->name ?? '-'}} {{number_format($product->stock_quantity)}} {{$product->unit}} {{$product->min_stock ?? 0}} Rp {{number_format($product->purchase_price, 0, ',', '.')}} Rp {{number_format($product->selling_price, 0, ',', '.')}} {{$product->description ?? '-'}} Rp {{number_format($product->asset, 0, ',', '.')}}
TOTAL ASET: Rp {{number_format($totalAsset, 0, ',', '.')}}
@endsection @push('scripts') @endpush