create lock_sent_invoices settings variable

This commit is contained in:
David Bomba 2019-04-22 09:21:57 +10:00
parent ab07513e3d
commit 4e126b03f0
2 changed files with 5 additions and 1 deletions

View File

@ -45,6 +45,7 @@ class ClientSettings extends BaseSettings
public $custom_taxes1;
public $custom_taxes2;
public $lock_sent_invoices;
/**
* settings which which are unique to client settings
@ -93,6 +94,7 @@ class ClientSettings extends BaseSettings
'inclusive_taxes' => NULL,
'custom_taxes1' => NULL,
'custom_taxes2' => NULL,
'lock_sent_invoices' => NULL,
];
}

View File

@ -66,7 +66,8 @@ class CompanySettings extends BaseSettings
public $custom_message_unpaid_invoice;
public $custom_message_paid_invoice;
public $custom_message_unapproved_quote;
public $lock_sent_invoices;
public $inclusive_taxes;
public $translations;
@ -109,6 +110,7 @@ class CompanySettings extends BaseSettings
'inclusive_taxes' => 1,
'custom_taxes1' => 0,
'custom_taxes2' => 0,
'lock_sent_invoices' => 0,
'translations' => (object) [],
];