Fix and update forecasting details

This commit is contained in:
2025-01-15 22:33:09 -05:00
parent c8c3d323a4
commit e4e23291ea
3 changed files with 76 additions and 73 deletions

View File

@@ -575,7 +575,7 @@ router.get('/forecast', async (req, res) => {
JSON_ARRAYAGG(
JSON_OBJECT(
'product_id', pm.product_id,
'name', pm.title,
'title', pm.title,
'sku', pm.sku,
'stock_quantity', pm.stock_quantity,
'total_sold', pm.total_sold,