Inventory Report (Accessories & Assets)

@php $total = 0; $outletNames = $outlets->pluck('outlet_name', 'id'); $supplierNames = $supplier->pluck('supplier_name', 'id'); $groupNames = $group->pluck('group_name', 'id'); $subGroupNames = $sub_group->pluck('sub_group_name', 'id'); @endphp @foreach ($assets as $key => $item) @php $amount = (float) $item->amount; $rate = (float) $item->rate; $qty = (int) $item->quantity; $total += $amount; @endphp @endforeach
Sl Bill No Date Outlet Group Sub Group Description Qty Rate Value Supplier Address Warranty Remarks
{{ $key + 1 }} {{ $item->billNo }} {{ $item->entryDate }} {{ $outletNames[$item->outlet] ?? '-' }} {{ $groupNames[$item->groupID] ?? '-' }} {{ $subGroupNames[$item->subGroupID] ?? '-' }} {{ $item->description }} {{ $qty }} {{ number_format($rate, 2) }} {{ number_format($amount, 2) }} {{ $supplierNames[$item->supplier] ?? '-' }} {{ $item->address }} {{ $item->waranty }} {{ $item->remarks }}
Total {{ number_format($total, 2) }}
Printed on: {{ now()->format('d-m-Y H:i') }}