From 14983479d3c29e88f3e8203eb51218677cea5ccc Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 19 Aug 2020 15:24:35 +1000 Subject: [PATCH] Add auto-bill to company settings " git push --- app/DataMapper/CompanySettings.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/DataMapper/CompanySettings.php b/app/DataMapper/CompanySettings.php index a968cbc5b2..29be490f1f 100644 --- a/app/DataMapper/CompanySettings.php +++ b/app/DataMapper/CompanySettings.php @@ -109,6 +109,8 @@ class CompanySettings extends BaseSettings public $reset_counter_date = ''; public $counter_padding = 4; + public $auto_bill = 'off'; //off,always,optin,optout + public $design = 'views/pdf/design1.blade.php'; public $invoice_terms = ''; @@ -237,6 +239,7 @@ class CompanySettings extends BaseSettings public $client_portal_privacy_policy = ''; public static $casts = [ + 'auto_bill' => 'auto_bill', 'lock_invoices' => 'string', 'client_portal_terms' => 'string', 'client_portal_privacy_policy' => 'string',