@extends('layouts.dashboard.adminapp') @section('title', 'Inventory Report') @section('styles') @endsection @section('content')
| Material Code | Description | Purchased | Sold | Balance | Status |
|---|---|---|---|---|---|
| {{ $item['material_code'] }} | {{ $item['description'] }} | +{{ number_format($item['purchased']) }} | -{{ number_format($item['sold']) }} | {{ number_format($item['balance']) }} | @if($item['balance'] <= 0) Out of Stock @elseif($item['balance'] < 10) Low Stock @else In Stock @endif |
| No inventory records found | |||||
| TOTAL: | +{{ number_format($totalPurchased) }} | -{{ number_format($totalSold) }} | {{ number_format($totalBalance) }} | ||