You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Epic: EPIC-010 — Global Internationalization & Multi-Language Support (GitHub #100) Priority: P1
User Story
As a MagikTap user in a non-USD market, I want prices displayed in my local currency with proper formatting, so I can understand costs without mental conversion.
Requirements
Supported Currencies (Initial)
Currency
Code
Symbol
Decimal
Grouping
US Dollar
USD
$
. (dot)
, (comma)
Euro
EUR
€
, (comma)
. (dot)
Ethiopian Birr
ETB
Br
.
,
Eritrean Nakfa
ERN
Nfk
.
,
Mexican Peso
MXN
$
.
,
Saudi Riyal
SAR
﷼
.
,
UAE Dirham
AED
د.إ
.
,
British Pound
GBP
£
.
,
Database Changes
Add currency column (CHAR(3), ISO 4217) to name_info table — user preferred currency
Story 4 — Multi-Currency Support
Epic: EPIC-010 — Global Internationalization & Multi-Language Support (GitHub #100)
Priority: P1
User Story
Requirements
Supported Currencies (Initial)
Database Changes
currencycolumn (CHAR(3), ISO 4217) toname_infotable — user preferred currencycurrency_ratestable:id,base_currency,target_currency,rate,updated_atCurrency Service
CurrencyService::format(float $amount, string $currencyCode, string $locale): stringCurrencyService::convert(float $amount, string $from, string $to): floatCurrencyService::getSymbol(string $currencyCode): stringCurrencyService::getSupportedCurrencies(): arrayNumberFormatter(intl extension) for locale-aware formattingView Integration
format_currency()helper (Story Add ssh container #1)Acceptance Criteria
name_infoFiles to Create
app/app.portalv2/app/Libraries/CurrencyService.phpapp/app.portalv2/app/Models/CurrencyRateModel.phpsql/migration_add_currency_support.sqlFiles to Modify
app/app.portalv2/app/Views/admin/finance/plans.php— localized pricingapp/app.portalv2/app/Views/admin/finance/transactions.php— localized amountsapp/app.portalv2/app/Views/admin/finance/commissions.php— localized amountsapp/app.portalv2/app/Views/profile/settings.php— currency preference selector