ifnex/04_Laravel/app/Http/Controllers
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
..
Api feat(core): enhance order processing and bridge integration 2026-09-09 12:03:58 +03:30
Controller.php feat: Complete customer ordering system (Phase 3) 2026-08-10 06:09:56 +03:30
OrderController.php feat(order): implement order creation flow and pricing API 2026-08-04 07:59:23 +03:30
PricingPageController.php refactor(import): enhance shipping rates import and refine PDF layouts 2026-08-04 09:47:22 +03:30
ShipmentPdfController.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30