Skip to content

Commit 38bee08

Browse files
committed
#2016 Added Indian Rupee to built-in list of currencies
1 parent ccf9e62 commit 38bee08

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Libraries/Nop.Services/Installation/CodeFirstInstallationService.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,18 @@ protected virtual void InstallCurrencies()
514514
CreatedOnUtc = DateTime.UtcNow,
515515
UpdatedOnUtc = DateTime.UtcNow,
516516
},
517+
new Currency
518+
{
519+
Name = "Indian Rupee",
520+
CurrencyCode = "INR",
521+
Rate = 68.21M,
522+
DisplayLocale = "en-IN",
523+
CustomFormatting = "",
524+
Published = false,
525+
DisplayOrder = 12,
526+
CreatedOnUtc = DateTime.UtcNow,
527+
UpdatedOnUtc = DateTime.UtcNow,
528+
},
517529
};
518530
_currencyRepository.Insert(currencies);
519531
}

0 commit comments

Comments
 (0)