ifnex/04_Laravel/app/Console/Commands
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
..
DebugImportCommand.php ✅ ۱۰ مورد کامل شد (دیتابیس، مدل‌ها، API، Filament، Laravel 11، رفع باگ‌ها) 2026-08-04 01:59:08 +03:30
GenerateApiToken.php feat(wallet): complete wallet system with admin adjust, freeze/unfreeze, activity logs 2026-08-07 22:51:42 +03:30
ImportHistoricalData.php ✅ ۱۰ مورد کامل شد (دیتابیس، مدل‌ها، API، Filament، Laravel 11، رفع باگ‌ها) 2026-08-04 01:59:08 +03:30
ImportShippingRates.php refactor(import): enhance shipping rates import and refine PDF layouts 2026-08-04 09:47:22 +03:30
ImportTrackingData.php feat(console): add tracking data import functionality and utility scripts 2026-08-04 05:38:35 +03:30
SyncWordPressUsers.php feat: Complete customer ordering and payment system (Phases 1-4) 2026-08-10 13:08:52 +03:30
UpdateExchangeRates.php refactor(currency): simplify exchange rate logic to use Rial as base 2026-10-29 03:54:02 +03:30