product on shelf

This commit is contained in:
2026-08-31 14:59:48 +05:30
parent ffc66462fc
commit 4bce5ac854
6 changed files with 103 additions and 0 deletions

View File

@@ -29,5 +29,9 @@ func RegisterUploadRoutes(api fiber.Router, f *facade.Facade) {
// The other half: priced, shelved and stocked at a branch. Kept apart from
// /update because the ingest service confirms the shared global catalogue
// and knows nothing about a shop's shelf.
// The rescue path: hand the spreadsheet over again for a receipt whose
// prices and opening stock were never stored, so it can still be shelved.
uploads.Put("/sheet", f.CatalogueUploadController.AttachSheet)
uploads.Put("/shelved", f.CatalogueUploadController.MarkShelved)
}