Skip to content

Add Restocking Orders feature: view, API, and Orders integration - #259

Open
DineshvsAccenture wants to merge 1 commit into
beck-source:mainfrom
DineshvsAccenture:new_features
Open

Add Restocking Orders feature: view, API, and Orders integration#259
DineshvsAccenture wants to merge 1 commit into
beck-source:mainfrom
DineshvsAccenture:new_features

Conversation

@DineshvsAccenture

Copy link
Copy Markdown
  • Add Restocking.vue: new page for browsing and submitting restocking orders; lets warehouse staff select low-stock items and submit a consolidated order with budget validation
  • Register /restocking route in main.js and add nav link in App.vue
  • api.js: add getRestockingOrders() and createRestockingOrder() helpers
  • server/main.py: add RestockingOrder/RestockingItem Pydantic models; POST /api/restocking-orders (201, 7-day fixed lead time, sequential order number RST-YYYY-NNNN); GET /api/restocking-orders
  • server/mock_data.py: initialise in-memory restocking_orders list (resets on restart, consistent with the no-persistence demo pattern)
  • Orders.vue: show submitted restocking orders in a summary card below the main orders table; errors fetching supplemental data are logged but do not block the main orders view
  • Add architecture.html: high-level system diagram

- Add Restocking.vue: new page for browsing and submitting restocking
  orders; lets warehouse staff select low-stock items and submit a
  consolidated order with budget validation
- Register /restocking route in main.js and add nav link in App.vue
- api.js: add getRestockingOrders() and createRestockingOrder() helpers
- server/main.py: add RestockingOrder/RestockingItem Pydantic models;
  POST /api/restocking-orders (201, 7-day fixed lead time, sequential
  order number RST-YYYY-NNNN); GET /api/restocking-orders
- server/mock_data.py: initialise in-memory restocking_orders list
  (resets on restart, consistent with the no-persistence demo pattern)
- Orders.vue: show submitted restocking orders in a summary card below
  the main orders table; errors fetching supplemental data are logged
  but do not block the main orders view
- Add architecture.html: high-level system diagram

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant