ifnex/04_Laravel/app/Services
Kazem Alghasi abae820070 refactor(api): improve pricing logic and add test coverage
Refactor the pricing calculation service and shipping rate import logic to improve consistency and reliability. This includes updating direction naming conventions, enhancing model casting, and adding comprehensive test suites.

- Update `ShippingRatesImport` to use 'outbound' and 'inbound' instead of 'export' and 'import'
- Refactor `PriceCalculatorService` to use a more modular calculation structure
- Update `ShippingRate` model to use explicit property casting for zones
- Add `HasFactory` trait to `Country` and `ShippingRate` models
- Add new database factories for `Country` and `ShippingRate`
- Implement new feature tests for API endpoints and service logic
- Add new service tests for `PriceCalculatorService`
2026-08-07 04:39:14 +03:30
..
PaymentGatewayService.php feat(api): implement payment gateway integration 2026-08-05 23:49:33 +03:30
PdfService.php refactor(import): enhance shipping rates import and refine PDF layouts 2026-08-04 09:47:22 +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(logic): integrate discount code application and wallet services 2026-08-05 19:16:09 +03:30