openclassify/resources/streams/config/currencies.php
2019-12-26 12:22:35 +03:00

57 lines
1.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
return [
/*
|--------------------------------------------------------------------------
| Enabled Currencies
|--------------------------------------------------------------------------
|
| Define an array of currencies enabled for translatable input.
|
*/
'enabled' => explode(',', env('ENABLED_CURRENCIES', 'USD')),
/*
|--------------------------------------------------------------------------
| Default Currency
|--------------------------------------------------------------------------
|
| The default currency will be used if one can not
| be determined automatically.
|
*/
'default' => env('DEFAULT_CURRENCY', 'USD'),
/*
|--------------------------------------------------------------------------
| Supported Currencies
|--------------------------------------------------------------------------
|
| In order to enable a currency or use it at all
| the ISO currency code MUST be in this array.
|
*/
'supported' => [
'USD' => [
'name' => 'US Dollar',
'direction' => 'ltr',
'symbol' => '$',
'separator' => ',',
'point' => '.',
'decimals' => 2,
],
'TRY' => [
'name' => 'Türk Lirası',
'direction' => 'ltr',
'symbol' => '₺',
'separator' => ',',
'point' => '.',
'decimals' => 2,
],
],
];