ifnex/04_Laravel/app
Kazem Alghasi 4fac1dae01 refactor(currency): simplify exchange rate logic to use Rial as base
Refactor the currency management system to eliminate the redundant
`rate_to_aed` field and transition to a single-base model where all
rates are stored relative to the Iranian Rial (IRR).

Key changes:
- Removed `rate_to_aed` from `currencies` table via new migration.
- Updated `ExchangeRateService` to handle rates using a single
  `currency_code` parameter instead of currency pairs.
- Refactored `UpdateExchangeRates` command to fetch rates from the
  Exir.io API and support multiple currencies (AED, USD, EUR, CNY).
- Updated Filament resources (`CurrencyResource`,
  `ExchangeRateHistoryResource`) and widgets to reflect the new
  single-base architecture.
- Improved `PriceCalculatorService` to use the updated service
  methodology for fetching the AED/IRR conversion rate.
- Localized console command output to Persian.
2026-10-29 03:54:02 +03:30
..
Console/Commands refactor(currency): simplify exchange rate logic to use Rial as base 2026-10-29 03:54:02 +03:30
Enums feat(finance): rate approval + multi-currency credit system (درخواست ۹) 2026-09-30 05:14:31 +03:30
Exports feat(shipment): implement status history tracking and rate import improvements 2026-08-24 03:40:13 +03:30
Filament refactor(currency): simplify exchange rate logic to use Rial as base 2026-10-29 03:54:02 +03:30
Helpers feat(ui): redesign admin dashboard with layered grid and custom branding 2026-10-03 11:08:50 +03:30
Http feat(api): expand shipment data fields and enhance tracking security 2026-10-29 00:51:50 +03:30
Imports feat(ui): add invoice download action to shipment view 2026-08-23 23:35:12 +03:30
Models refactor(currency): simplify exchange rate logic to use Rial as base 2026-10-29 03:54:02 +03:30
Notifications feat(commitment-forms): implement end-to-end management and secure file access 2026-10-03 05:58:59 +03:30
Observers feat(core): implement configuration-driven logic via SystemSetting 2026-09-10 02:25:21 +03:30
Policies feat(security): implement secure file storage and shipment access control 2026-10-01 03:34:28 +03:30
Providers chore(api): implement rate limiting for sensitive endpoints 2026-10-04 01:35:22 +03:30
Services refactor(currency): simplify exchange rate logic to use Rial as base 2026-10-29 03:54:02 +03:30
Traits feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30