ifnex/04_Laravel/app/Models
Kazem Alghasi 02c29db696 feat(core): implement order approval flow, credit system, and import invoicing
Introduce a comprehensive set of commercial features including a multi-step
order approval workflow, customer credit management, and specialized
import service invoicing.

Key changes:
- Implement `pending_approval` and `approved` shipment statuses to allow
  staff verification before customer payment.
- Add a credit system to `User` model with `credit_limit` and `credit_used`
  to manage customer balances and debts.
- Develop a new `importInvoice` PDF generation service following the
  "Sheet ENG Invoice" specification for import services.
- Add Filament resources for managing Audit Logs, Commitment Forms,
  Customer Credits, and Shipment Checklists.
- Implement staff-specific APIs for order approval/rejection and
  customer financial status monitoring.
- Integrate Kavenegar SMS service for mobile verification and notifications.
- Add bulk tracking import functionality via CSV/Excel.
- Update WordPress bridge assets (CSS/JS) to support the new multi-step
  order form UI and updated redirection logic.
- Update deployment configurations and documentation to reflect new
  production domains and feature sets.
2026-09-03 06:04:20 +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 feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
ShipmentItem.php feat: Complete Phase 1 core logic and WP bridge setup 2026-08-01 04:01:22 +03:30
ShipmentPackage.php - Add shipment_packages migration and ShipmentPackage model 2026-08-29 07:09:25 +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