ifnex/04_Laravel/app/Http/Controllers/Api
Kazem Alghasi b25bfda597 feat(core): enhance order processing and bridge integration
Refactor the order and shipment lifecycle across WordPress and Laravel,
improving multi-package handling, payment automation, and frontend
reliability.

- Laravel:
  - Rename `package_number` to `package_no` and `description` to
    `content_description` in `ShipmentPackage` model and controller.
  - Update `PaymentController` to automatically transition approved
    shipments to `Processed` status upon successful payment.
  - Adjust `OrderPaymentService` to validate against `Approved` status
    instead of `PendingPayment`.
  - Expose `/countries` endpoint as a public route (unauthenticated).
  - Remove obsolete `read_excel.php` utility.

- WordPress (Bridge Plugin & Theme):
  - Implement AJAX handler for wallet-based order payments.
  - Update `ifnex-order-form.js` to support multi-package input names
    and auto-select Iran based on shipment direction.
  - Improve error handling and feedback in the order form and country
    loading logic.
  - Add automatic tracking submission when an `awb` parameter is
    present in the URL.
  - Update CSS with `!important` flags to ensure correct visibility
    of form steps and dashboard elements.
  - Implement cache-busting for plugin assets and prevent OPcache
    stale files via header controls.
  - Optimize theme logo loading with eager loading and explicit
    dimensions.
2026-09-09 12:03:58 +03:30
..
Customer feat(core): enhance order processing and bridge integration 2026-09-09 12:03:58 +03:30
AuthController.php feat: Complete customer ordering system (Phase 3) 2026-08-10 06:09:56 +03:30
BridgeAuthController.php feat: Complete customer ordering and payment system (Phases 1-4) 2026-08-10 13:08:52 +03:30
CommitmentFormController.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
CustomerFinancialController.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
DiscountCodeController.php refactor(api): expose wallet and discount endpoints and cleanup project 2026-08-05 22:46:31 +03:30
MobileVerificationController.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
MockGatewayController.php feat(wallet): complete online payment with Zarinpal + mock gateway 2026-08-08 00:46:54 +03:30
PaymentController.php feat(core): enhance order processing and bridge integration 2026-09-09 12:03:58 +03:30
PricingController.php ۱۰ مورد کامل شد (دیتابیس، مدل‌ها، API، Filament، Laravel 11، رفع باگ‌ها) 2026-08-04 01:59:08 +03:30
StaffOrderController.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
TrackController.php Phase 3.5 — Core Features Complete: 2026-08-29 08:35:34 +03:30
WalletController.php feat(finance): implement Filament admin panel and expand wallet/discount features 2026-08-08 03:15:51 +03:30