Spaces:
Configuration error
Configuration error
Download app/kpi_cache/widget_groups/inventory.py from cuatrolabs/cuatrolabs-analytics-ms: direct link, hf CLI and curl.
- Browser
- Download file 890 Bytes
-
https://huggingface.co/spaces/cuatrolabs/cuatrolabs-analytics-ms/resolve/main/app/kpi_cache/widget_groups/inventory.py
- Command line
-
hf download hf://spaces/cuatrolabs/cuatrolabs-analytics-ms/app/kpi_cache/widget_groups/inventory.py
-
curl -L -o inventory.py https://huggingface.co/spaces/cuatrolabs/cuatrolabs-analytics-ms/resolve/main/app/kpi_cache/widget_groups/inventory.py
890 Bytes
| """Inventory category KPI widget definitions.""" | |
| INVENTORY_WIDGETS: dict = { | |
| "wid_low_stock_skus_001": { | |
| "title": "Low Stock SKUs", | |
| "category": "inventory", | |
| "unit": "count", | |
| "description": "SKUs at or below reorder point; includes stockout count", | |
| "drill_down_url": "/inventory/stock-overview", | |
| }, | |
| "wid_net_stock_value_001": { | |
| "title": "Net Stock Value", | |
| "category": "inventory", | |
| "unit": "INR", | |
| "description": "Total value of current inventory (qty_on_hand * cost_price)", | |
| "drill_down_url": "/inventory/stock-overview", | |
| }, | |
| "wid_adjustments_mtd_001": { | |
| "title": "Adjustments This Month", | |
| "category": "inventory", | |
| "unit": "count", | |
| "description": "Approved/applied stock adjustments month-to-date", | |
| "drill_down_url": "/inventory/adjustments", | |
| }, | |
| } | |