feat(arrivals): in-transit goods dashboard - quote cards, per-item receive and warehouse allocation, days elapsed, admin access, received<=ordered limit

This commit is contained in:
ali_mohaghegh
2026-08-27 15:04:25 +03:30
parent f48f3752af
commit a191147eca
4 changed files with 402 additions and 179 deletions
+3 -1
View File
@@ -18,7 +18,9 @@
// 4. Offers may span several projects per line item (line_item_projects),
// but a PURCHASED item has exactly ONE project, picked by the
// procurement manager at purchase → item_decisions.project_id.
// 5. Arrival confirmation belongs to the PM: proc manager purchases →
// 5. Arrival confirmation belongs to the PM (and to the admin /
// procurement manager — the same person — who can also receive and
// monitor all projects): proc manager purchases →
// item appears on PM dash as "on the way" → PM confirms arrival and
// splits the goods into warehouses (free count, typically 3) →
// inventory posts PURCHASE automatically → proc dash updates.