ifnex/04_Laravel/app/Services
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
..
ExchangeRateService.php refactor(ui): redesign admin dashboard widgets and exchange service 2026-08-10 04:08:29 +03:30
KavenegarSmsService.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
MockZarinpalService.php feat(wallet): complete online payment with Zarinpal + mock gateway 2026-08-08 00:46:54 +03:30
OrderPaymentService.php feat(core): enhance order processing and bridge integration 2026-09-09 12:03:58 +03:30
PdfService.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
PriceCalculatorService.php refactor(api): improve pricing logic and add test coverage 2026-08-07 04:39:14 +03:30
TrackingService.php ۱۰ مورد کامل شد (دیتابیس، مدل‌ها، API، Filament، Laravel 11، رفع باگ‌ها) 2026-08-04 01:59:08 +03:30
WalletService.php feat(wallet): complete wallet system with admin adjust, freeze/unfreeze, activity logs 2026-08-07 22:51:42 +03:30
ZarinpalService.php feat(wallet): complete online payment with Zarinpal + mock gateway 2026-08-08 00:46:54 +03:30