A local-first personal finance app
Add Pakistani PKR currency (#7993)
Awais Saeed21b194607062
diff --git a/packages/desktop-client/src/components/settings/Currency.tsx b/packages/desktop-client/src/components/settings/Currency.tsxindex fc551a1ac0..45c8041e3f 100644--- a/packages/desktop-client/src/components/settings/Currency.tsx+++ b/packages/desktop-client/src/components/settings/Currency.tsx@@ -50,6 +50,7 @@ export function CurrencySettings() {['MDL', t('Moldovan Leu')],['MYR', t('Malaysian Ringgit')],['PHP', t('Philippine Peso')],+ ['PKR', t('Pakistani Rupee')],['PLN', t('Polish Złoty')],['QAR', t('Qatari Riyal')],['RON', t('Romanian Leu')],diff --git a/packages/loot-core/src/shared/currencies.ts b/packages/loot-core/src/shared/currencies.tsindex 868f37457e..8f171ca300 100644--- a/packages/loot-core/src/shared/currencies.ts+++ b/packages/loot-core/src/shared/currencies.ts@@ -51,6 +51,7 @@ export const currencies: Currency[] = [{ code: 'MDL', name: 'Moldovan Leu', symbol: 'L', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: false },{ code: 'MYR', name: 'Malaysian Ringgit', symbol: 'RM', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'PHP', name: 'Philippine Peso', symbol: '₱', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },+ { code: 'PKR', name: 'Pakistani Rupee', symbol: 'Rs.', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'PLN', name: 'Polish Złoty', symbol: 'zł', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: false },{ code: 'QAR', name: 'Qatari Riyal', symbol: 'ر.ق', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: false },{ code: 'RON', name: 'Romanian Leu', symbol: 'lei', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: false },diff --git a/upcoming-release-notes/7993.md b/upcoming-release-notes/7993.mdnew file mode 100644index 0000000000..f731cca17e--- /dev/null+++ b/upcoming-release-notes/7993.md@@ -0,0 +1,6 @@+---+category: Enhancements+authors: [awaissaeed530]+---++Add Pakistani PKR currency