mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for demo data
This commit is contained in:
parent
668e322834
commit
2191716115
@ -112,8 +112,8 @@ class DemoMode extends Command
|
||||
$settings->state = $faker->state;
|
||||
$settings->postal_code = $faker->postcode;
|
||||
$settings->website = $faker->url;
|
||||
$settings->vat_number = $faker->numberBetween(123456789, 987654321);
|
||||
$settings->phone = $faker->phoneNumber;
|
||||
$settings->vat_number = (string)$faker->numberBetween(123456789, 987654321);
|
||||
$settings->phone = (string)$faker->phoneNumber;
|
||||
|
||||
$company->settings = $settings;
|
||||
$company->save();
|
||||
|
@ -27,7 +27,7 @@ class CompanySettings extends BaseSettings
|
||||
public $auto_archive_invoice = false;
|
||||
public $lock_sent_invoices = false;
|
||||
|
||||
//public $lock_invoices = 'off'; //off,when_sent,when_paid
|
||||
public $lock_invoices = 'off'; //off,when_sent,when_paid
|
||||
|
||||
public $enable_client_portal_tasks = false;
|
||||
public $enable_client_portal_password = false;
|
||||
@ -238,7 +238,7 @@ class CompanySettings extends BaseSettings
|
||||
public $client_portal_privacy_policy = '';
|
||||
|
||||
public static $casts = [
|
||||
// 'lock_invoices' => 'string',
|
||||
'lock_invoices' => 'string',
|
||||
'client_portal_terms' => 'string',
|
||||
'client_portal_privacy_policy' => 'string',
|
||||
'client_can_register' => 'bool',
|
||||
|
Loading…
Reference in New Issue
Block a user