Material Detail Page

What you see inside a material's detail view — budget, stock stats, usage history, deliveries, and adjustments.

Quick Summary
  • Click any material row in the Inventory tab to open its detail page
  • Left panel: Material metadata — name, spec, category, unit, budget rate, planned quantity
  • Stats cards: Current stock, total delivered, total consumed, total cost
  • Budget progress: Visual bar showing cost against budget
  • Tabs: Usage, Deliveries, Adjustments, Tests (QC records)
  • Inline editing: Budget rate and planned quantity can be edited directly

Full Guide

Click any row in the Inventory table to open its detail page. The URL changes to /dashboard/resources/[materialId].

Material detail page showing stats cards, budget progress, and usage/deliveries/adjustments tabs
Material detail page — stats overview, budget tracking, and activity tabs

The page has a back button (← Resources) in the header to return to the Inventory tab.

Left Panel (Material Info)

The left side shows the material's core information:

FieldDescription
NameMaterial name from the submittal
SpecificationGrade or spec (e.g., M30, Fe500D 12mm)
CategoryMaterial type badge
UnitMeasurement unit badge
Budget RateCost per unit (₹) — editable
Planned QuantityTotal expected need — editable

Budget Rate and Planned Quantity can be edited inline — click the value, update it, and click Save.

Stats Cards

Four summary cards show key metrics:

CardWhat It Shows
Current StockTotal delivered − total consumed ± adjustments
Total DeliveredSum of all approved delivery quantities
Total ConsumedSum of all usage log quantities
Total CostSum of all approved delivery costs (₹)

Budget Progress

A progress bar below the stats shows how your actual costs compare to your budget:

Budget Calculation

Budget = Budget Rate × Planned Quantity

If costs exceed the budget, the bar changes color to indicate over-budget status.

Tabs

Usage Tab

  • Chronological list of all usage log entries
  • Each entry: date, quantity consumed, remarks, who logged it
  • Immutable records — can't be edited or deleted

Deliveries Tab

  • All deliveries for this material
  • Each entry: date, vendor, quantity, cost, approval status
  • Clicking a delivery navigates to its detail page

Adjustments Tab

  • All manual stock adjustments
  • Each entry: date, direction (add/remove), quantity, reason, who adjusted
  • Immutable records

Tests Tab (QC Testing)

  • Quality control test records for the material
  • Each entry: test type, scheduled date, result, status (pending/passed/failed)
  • Upload test certificates

Actions Available

ActionWhereWhat It Does
Edit BudgetLeft panel (inline)Update rate and planned quantity
Log UsageUsage tab or actionsRecord material consumption
Adjust StockActionsManual stock correction
Back to InventoryHeader back buttonReturn to the inventory list