Merge pull request #11140 from Jihad/add-sar-currency

Add Saudi Riyal (SAR) currency
This commit is contained in:
James Cole
2025-11-01 18:02:09 +01:00
committed by GitHub

View File

@@ -85,6 +85,7 @@ class TransactionCurrencySeeder extends Seeder
$currencies[] = ['code' => 'NOK', 'name' => 'Norwegian krone', 'symbol' => 'kr.', 'decimal_places' => 2];
$currencies[] = ['code' => 'CZK', 'name' => 'Czech koruna', 'symbol' => 'Kč', 'decimal_places' => 2];
$currencies[] = ['code' => 'KZT', 'name' => 'Kazakhstani tenge', 'symbol' => '₸', 'decimal_places' => 2];
$currencies[] = ['code' => 'SAR', 'name' => 'Saudi Riyal', 'symbol' => 'SAR', 'decimal_places' => 2];
foreach ($currencies as $currency) {
if (null === TransactionCurrency::where('code', $currency['code'])->first()) {