updated money
package to 5.0 version
This commit is contained in:
@ -21,7 +21,7 @@ class Currency extends Factory
|
||||
*/
|
||||
public function definition()
|
||||
{
|
||||
$currencies = config('money');
|
||||
$currencies = config('money.currencies');
|
||||
|
||||
Model::pluck('code')->each(function ($db_code) use (&$currencies) {
|
||||
unset($currencies[$db_code]);
|
||||
|
@ -36,11 +36,11 @@ class Currencies extends Seeder
|
||||
'code' => 'USD',
|
||||
'rate' => '1.00',
|
||||
'enabled' => '1',
|
||||
'precision' => config('money.USD.precision'),
|
||||
'symbol' => config('money.USD.symbol'),
|
||||
'symbol_first' => config('money.USD.symbol_first'),
|
||||
'decimal_mark' => config('money.USD.decimal_mark'),
|
||||
'thousands_separator' => config('money.USD.thousands_separator'),
|
||||
'precision' => config('money.currencies.USD.precision'),
|
||||
'symbol' => config('money.currencies.USD.symbol'),
|
||||
'symbol_first' => config('money.currencies.USD.symbol_first'),
|
||||
'decimal_mark' => config('money.currencies.USD.decimal_mark'),
|
||||
'thousands_separator' => config('money.currencies.USD.thousands_separator'),
|
||||
],
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user