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. |
||
|---|---|---|
| .. | ||
| ExchangeRateService.php | ||
| KavenegarSmsService.php | ||
| MockZarinpalService.php | ||
| OrderPaymentService.php | ||
| PdfService.php | ||
| PriceCalculatorService.php | ||
| ShipmentReviewService.php | ||
| TrackingService.php | ||
| WalletService.php | ||
| ZarinpalService.php | ||