ifnex/04_Laravel/app
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
..
Console/Commands refactor(api): expose wallet and discount endpoints and cleanup project 2026-08-05 22:46:31 +03:30
Enums feat(shipment): implement PDF generation for AWB, invoice, and labels 2026-08-04 09:20:23 +03:30
Filament feat(logic): integrate discount code application and wallet services 2026-08-05 19:16:09 +03:30
Http feat(api): implement payment gateway integration 2026-08-05 23:49:33 +03:30
Imports refactor(api): improve pricing logic and add test coverage 2026-08-07 04:39:14 +03:30
Models refactor(api): improve pricing logic and add test coverage 2026-08-07 04:39:14 +03:30
Providers refactor(ui): clean up middleware configuration in AdminPanelProvider 2026-08-05 16:57:25 +03:30
Services refactor(api): improve pricing logic and add test coverage 2026-08-07 04:39:14 +03:30