ifnex/04_Laravel/app/Services
Kazem Alghasi 58493feca4 refactor(currency): IRR as single base currency for all shipping rates
Make Iranian Rial (IRR) the sole base currency for shipping rates:
- RateImportService now converts all imported rates to IRR at import
  time using the current daily exchange rate (source currency AED/USD/
  EUR/IRR). Rates are stored in rate_entries with currency='IRR'.
- PriceCalculatorService looks up IRR rates directly — no conversion
  at calc time. Also fixes a pre-existing bug where extras (in IRR)
  were incorrectly added to the AED base before conversion.
- RateEntry::lookup() default currency changed from 'AED' to 'IRR'.
- Migration changes the column default to 'IRR'.
- Filament import form: relabel 'Rate currency' to 'Source currency
  (in Excel file)' with helper text explaining the conversion.
- WordPress JS: update price summary labels from 'درهم' to 'ریال'
  and drop the deprecated net_dirham field.

Architectural benefit: rates are 'frozen' in IRR at import time —
daily exchange rate changes only affect NEW imports, not already-
stored rates. This is more stable and predictable for customers.
2026-10-29 17:01:30 +03:30
..
CustomerCreditService.php feat(finance): implement multi-currency credit tracking and dashboard widgets 2026-10-04 01:01:20 +03:30
ExchangeRateService.php fix(pricing): restore array-based calculate() and harden pricing API 2026-10-29 14:40:58 +03:30
KavenegarSmsService.php feat(core): integrate Kavenegar SMS notifications and audit logging 2026-09-10 00:52:18 +03:30
MockZarinpalService.php feat(wallet): complete online payment with Zarinpal + mock gateway 2026-08-08 00:46:54 +03:30
OrderPaymentService.php feat(security): implement secure file storage and shipment access control 2026-10-01 03:34:28 +03:30
PdfService.php refactor(pdf): switch AWB template to landscape orientation 2026-10-03 20:33:15 +03:30
PriceCalculatorService.php refactor(currency): IRR as single base currency for all shipping rates 2026-10-29 17:01:30 +03:30
RateImportService.php refactor(currency): IRR as single base currency for all shipping rates 2026-10-29 17:01:30 +03:30
ShipmentReviewService.php feat(notifications): customer notifications on approve/request-changes + WP tab + badge + timezone Iran 2026-10-02 19:08:41 +03:30
TrackingService.php feat(core): implement configuration-driven logic via SystemSetting 2026-09-10 02:25:21 +03:30
WalletService.php feat(wallet): complete wallet system with admin adjust, freeze/unfreeze, activity logs 2026-08-07 22:51:42 +03:30
ZarinpalService.php feat(wallet): complete online payment with Zarinpal + mock gateway 2026-08-08 00:46:54 +03:30