@extends('layouts.dashboard.superadminapp') @section('title', 'Inventory Report') @section('styles') @endsection @section('content')
| # | Material Code / Item | Description | Purchased (Inward) | Sold (Outward) | Balance | Status |
|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $row['material_code'] }} | {{ $row['description'] ?? '-' }} | {{ number_format($row['purchased']) }} | {{ number_format($row['sold']) }} | {{ number_format($row['balance']) }} | @if($row['balance'] < 0) Negative @elseif($row['balance'] < 10) Low Stock @elseif($row['balance'] > 100) In Stock @else Normal @endif |
| No inventory records found. Please select filters and try again. | ||||||
| TOTALS: | {{ number_format($totalPurchased) }} | {{ number_format($totalSold) }} | {{ number_format($totalBalance) }} | - | ||
| Item | Description | Balance |
|---|---|---|
| {{ $item['material_code'] }} | {{ Str::limit($item['description'], 30) }} | {{ $item['balance'] }} |
| No low stock items | ||
| Item | Description | Balance |
|---|---|---|
| {{ $item['material_code'] }} | {{ Str::limit($item['description'], 30) }} | {{ number_format($item['balance']) }} |
| No items found | ||