ifnex/04_Laravel/app/Models
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
..
AuditLog.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
CommitmentForm.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
Country.php feat(core): complete phase 3 integration and enhance country/phone features 2026-08-29 04:38:28 +03:30
Currency.php feat(admin): implement currency management and rate import system 2026-08-24 01:18:34 +03:30
DiscountCode.php feat(logic): integrate discount code application and wallet services 2026-08-05 19:16:09 +03:30
ExchangeRateHistory.php refactor(ui): redesign admin dashboard widgets and exchange service 2026-08-10 04:08:29 +03:30
Payment.php feat(api): implement payment gateway integration 2026-08-05 23:49:33 +03:30
Role.php feat(auth): implement role-based access control using spatie/laravel-permission 2026-08-10 02:44:23 +03:30
Shipment.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
ShipmentCarrierMapping.php ۱۰ مورد کامل شد (دیتابیس، مدل‌ها، API، Filament، Laravel 11، رفع باگ‌ها) 2026-08-04 01:59:08 +03:30
ShipmentChecklist.php fix(ui): fix filter state handling in Filament resources and remove soft deletes 2026-09-03 08:01:00 +03:30
ShipmentItem.php feat: Complete Phase 1 core logic and WP bridge setup 2026-08-01 04:01:22 +03:30
ShipmentPackage.php feat(core): enhance order processing and bridge integration 2026-09-09 12:03:58 +03:30
ShipmentStatusHistory.php feat(shipment): implement status history tracking and rate import improvements 2026-08-24 03:40:13 +03:30
ShipmentTrackingEvent.php ۱۰ مورد کامل شد (دیتابیس، مدل‌ها، API، Filament، Laravel 11، رفع باگ‌ها) 2026-08-04 01:59:08 +03:30
ShippingRate.php refactor(api): improve pricing logic and add test coverage 2026-08-07 04:39:14 +03:30
SystemSetting.php ۱۰ مورد کامل شد (دیتابیس، مدل‌ها، API، Filament، Laravel 11، رفع باگ‌ها) 2026-08-04 01:59:08 +03:30
User.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
Wallet.php feat(finance): implement Filament admin panel and expand wallet/discount features 2026-08-08 03:15:51 +03:30
WalletActivityLog.php feat(wallet): complete wallet system with admin adjust, freeze/unfreeze, activity logs 2026-08-07 22:51:42 +03:30
WalletTransaction.php feat(wallet): complete wallet system with admin adjust, freeze/unfreeze, activity logs 2026-08-07 22:51:42 +03:30