diff --git a/database/migrations/2025_01_18_012550_2025_01_16_wst_currency.php b/database/migrations/2025_01_18_012550_2025_01_16_wst_currency.php new file mode 100644 index 0000000000..fde31bd788 --- /dev/null +++ b/database/migrations/2025_01_18_012550_2025_01_16_wst_currency.php @@ -0,0 +1,39 @@ + 142, + 'name' => 'Samoan Tala', + 'code' => 'WST', + 'symbol' => '$', + 'precision' => '2', + 'thousand_separator' => ',', + 'decimal_separator' => '.', + ]); + } + + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + // + } +}; diff --git a/database/seeders/CurrenciesSeeder.php b/database/seeders/CurrenciesSeeder.php index 0edf1d2fd5..148e2eca32 100644 --- a/database/seeders/CurrenciesSeeder.php +++ b/database/seeders/CurrenciesSeeder.php @@ -164,6 +164,7 @@ class CurrenciesSeeder extends Seeder ['id' => 139, 'name' => 'Tajikistani Somoni', 'code' => 'TJS', 'symbol' => 'ЅM', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'], ['id' => 140, 'name' => 'Turkmenistani Manat', 'code' => 'TMT', 'symbol' => 'T', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'], ['id' => 141, 'name' => 'Uzbekistani Som', 'code' => 'UZS', 'symbol' => 'so\'m', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'], + ['id' => 142, 'name' => 'Samoan Tala', 'code' => 'WST', 'symbol' => '$', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'], ]; diff --git a/lang/en/texts.php b/lang/en/texts.php index 02052b7523..de29b4e552 100644 --- a/lang/en/texts.php +++ b/lang/en/texts.php @@ -5493,6 +5493,7 @@ $lang = array( 'einvoice_token_not_found' => 'E-invoicing token not found. Please go to Settings > E-invoice and regenerate token.', 'regenerate' => 'Regenerate', 'subscription_unavailable' => 'This item is no longer available', + 'currency_samoan_tala' => 'Samoan Tala', ); return $lang;