mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 19:54:30 -04:00
Merge pull request #4540 from turbo124/v5-develop
Fixes for country types
This commit is contained in:
commit
57ed1571aa
@ -50,8 +50,8 @@ class CreateUsersTable extends Migration
|
|||||||
$table->boolean('eea')->default(0);
|
$table->boolean('eea')->default(0);
|
||||||
$table->boolean('swap_postal_code')->default(0);
|
$table->boolean('swap_postal_code')->default(0);
|
||||||
$table->boolean('swap_currency_symbol')->default(false);
|
$table->boolean('swap_currency_symbol')->default(false);
|
||||||
$table->string('thousand_separator')->nullable();
|
$table->string('thousand_separator')->nullable()->default('');
|
||||||
$table->string('decimal_separator')->nullable();
|
$table->string('decimal_separator')->nullable()->default('');
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::create('payment_types', function ($table) {
|
Schema::create('payment_types', function ($table) {
|
||||||
|
@ -50,6 +50,8 @@ class CountriesSeeder extends Seeder
|
|||||||
'region_code' => $country['region-code'],
|
'region_code' => $country['region-code'],
|
||||||
'sub_region_code' => $country['sub-region-code'],
|
'sub_region_code' => $country['sub-region-code'],
|
||||||
'eea' => (bool) $country['eea'],
|
'eea' => (bool) $country['eea'],
|
||||||
|
'thousand_separator' => '',
|
||||||
|
'decimal_separator' => '',
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user