ifnex/04_Laravel/app/Filament/Resources
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
..
AuditLogResource/Pages feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
CommitmentFormResource/Pages feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
CountryResource/Pages feat: Complete Phase 1 core logic and WP bridge setup 2026-08-01 04:01:22 +03:30
CurrencyResource/Pages feat(admin): implement currency management and rate import system 2026-08-24 01:18:34 +03:30
CustomerCreditResource/Pages feat(finance): rate approval + multi-currency credit system (درخواست ۹) 2026-09-30 05:14:31 +03:30
DiscountCodeResource/Pages feat(logic): integrate discount code application and wallet services 2026-08-05 19:16:09 +03:30
ExchangeRateHistoryResource/Pages feat(exchange): implement exchange rate history tracking 2026-08-10 03:04:18 +03:30
PaymentResource/Pages feat(finance): implement Filament admin panel and expand wallet/discount features 2026-08-08 03:15:51 +03:30
RateImportResource/Pages refactor(currency): IRR as single base currency for all shipping rates 2026-10-29 17:01:30 +03:30
RoleResource/Pages feat(auth): implement role-based access control using spatie/laravel-permission 2026-08-10 02:44:23 +03:30
ShipmentChecklistResource/Pages feat(shipment): implement checklist templating and automated instantiation 2026-09-30 18:35:25 +03:30
ShipmentChecklistTemplateResource/Pages feat(shipment): implement checklist templating and automated instantiation 2026-09-30 18:35:25 +03:30
ShipmentItemResource/Pages feat: Complete Phase 1 core logic and WP bridge setup 2026-08-01 04:01:22 +03:30
ShipmentResource feat(commitment-forms): implement end-to-end management and secure file access 2026-10-03 05:58:59 +03:30
ShippingRateResource/Pages feat: Complete Phase 1 core logic and WP bridge setup 2026-08-01 04:01:22 +03:30
UserResource feat(finance): implement multi-currency credit tracking and dashboard widgets 2026-10-04 01:01:20 +03:30
views refactor(currency): IRR as single base currency for all shipping rates 2026-10-29 17:01:30 +03:30
WalletResource/Pages feat(wallet): complete wallet system with admin adjust, freeze/unfreeze, activity logs 2026-08-07 22:51:42 +03:30
WalletTransactionResource/Pages feat(admin): enhance shipment and wallet transaction resources 2026-08-10 00:25:15 +03:30
AuditLogResource.php feat(ui): reorganize filament nav, shipment table density, 6 relation managers 2026-09-30 02:54:08 +03:30
CommitmentFormResource.php feat(ui): reorganize filament nav, shipment table density, 6 relation managers 2026-09-30 02:54:08 +03:30
CountryResource.php feat(ui): reorganize filament nav, shipment table density, 6 relation managers 2026-09-30 02:54:08 +03:30
CurrencyResource.php refactor(currency): simplify exchange rate logic to use Rial as base 2026-10-29 03:54:02 +03:30
CustomerCreditResource.php feat(finance): implement multi-currency credit tracking and dashboard widgets 2026-10-04 01:01:20 +03:30
DiscountCodeResource.php feat(ui): reorganize filament nav, shipment table density, 6 relation managers 2026-09-30 02:54:08 +03:30
ExchangeRateHistoryResource.php refactor(currency): simplify exchange rate logic to use Rial as base 2026-10-29 03:54:02 +03:30
PaymentResource.php refactor(admin): reorganize filament navigation and layout 2026-08-08 04:11:03 +03:30
RateImportResource.php feat(api): implement 4-quadrant rate import and pricing model 2026-10-29 07:18:52 +03:30
RoleResource.php feat(ui): reorganize filament nav, shipment table density, 6 relation managers 2026-09-30 02:54:08 +03:30
ShipmentChecklistResource.php feat(ops): pending widget + manual status change + bulk complete + fix changeStatus placement 2026-10-03 00:02:13 +03:30
ShipmentChecklistTemplateResource.php feat(shipment): implement checklist templating and automated instantiation 2026-09-30 18:35:25 +03:30
ShipmentItemResource.php feat(ui): reorganize filament nav, shipment table density, 6 relation managers 2026-09-30 02:54:08 +03:30
ShipmentResource.php feat(ops): pending widget + manual status change + bulk complete + fix changeStatus placement 2026-10-03 00:02:13 +03:30
ShippingRateResource.php feat(ui): reorganize filament nav, shipment table density, 6 relation managers 2026-09-30 02:54:08 +03:30
UserResource.php feat(finance): implement multi-currency credit tracking and dashboard widgets 2026-10-04 01:01:20 +03:30
WalletResource.php refactor(admin): reorganize filament navigation and layout 2026-08-08 04:11:03 +03:30
WalletTransactionResource.php feat(ui): reorganize filament nav, shipment table density, 6 relation managers 2026-09-30 02:54:08 +03:30