mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for seeding countries
This commit is contained in:
parent
5aae89d9ea
commit
23a534ee73
@ -195,10 +195,10 @@ class CountriesSeeder extends Seeder
|
|||||||
$country->swap_currency_symbol = true;
|
$country->swap_currency_symbol = true;
|
||||||
}
|
}
|
||||||
if (isset($data['thousand_separator'])) {
|
if (isset($data['thousand_separator'])) {
|
||||||
$country->thousand_separator = $data['thousand_separator'];
|
$country->thousand_separator = $data['thousand_separator'] ?: '';
|
||||||
}
|
}
|
||||||
if (isset($data['decimal_separator'])) {
|
if (isset($data['decimal_separator'])) {
|
||||||
$country->decimal_separator = $data['decimal_separator'];
|
$country->decimal_separator = $data['decimal_separator'] ?: '';
|
||||||
}
|
}
|
||||||
$country->save();
|
$country->save();
|
||||||
}
|
}
|
||||||
|
@ -3329,5 +3329,7 @@ return [
|
|||||||
|
|
||||||
'setup_steps_notice' => 'To proceed to next step, make sure you test each section.',
|
'setup_steps_notice' => 'To proceed to next step, make sure you test each section.',
|
||||||
|
|
||||||
'setup_phantomjs_note' => 'Note about Phantom JS. Read more.'
|
'setup_phantomjs_note' => 'Note about Phantom JS. Read more.',
|
||||||
|
'currency_armenian_dram' => 'Armenian Dram',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user