ifnex/04_Laravel/database
Kazem Alghasi 61a2643dd0 feat(api): implement shipment review and resubmission workflow
Introduces a complete shipment review system allowing staff to request
changes to customer orders and customers to resubmit corrected orders.

- Add `ReviewState` enum and `ShipmentReview` model to track review history.
- Implement `ShipmentReviewService` to handle approval and change
  request logic.
- Add `resubmit` endpoint for customers to update orders when
  `changes_requested` state is active.
- Add `request-changes` endpoint for staff to flag orders for correction.
- Update `ShipmentResource` in Filament to display review states and
  manage approvals.
- Implement WordPress bridge support for fetching and resubmitting
  orders via AJAX.
- Add database migrations for `shipment_reviews` table and `review_state`
  column on shipments.
- Add `StaffApiMiddleware` to secure staff-specific API routes.
2026-09-27 01:00:26 +03:30
..
factories refactor(api): improve pricing logic and add test coverage 2026-08-07 04:39:14 +03:30
migrations feat(api): implement shipment review and resubmission workflow 2026-09-27 01:00:26 +03:30
seeders feat: Complete customer ordering system (Phase 3) 2026-08-10 06:09:56 +03:30
.gitignore feat: Complete Phase 1 core logic and WP bridge setup 2026-08-01 04:01:22 +03:30