From 01b5d44f9ff226cba1fa7efc84f144f9cd903bcd Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 24 Apr 2023 17:03:02 +1000 Subject: [PATCH 1/2] Add default expense payment type id --- app/DataMapper/CompanySettings.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/DataMapper/CompanySettings.php b/app/DataMapper/CompanySettings.php index c96b9dc54ac1..25f80ee21dd4 100644 --- a/app/DataMapper/CompanySettings.php +++ b/app/DataMapper/CompanySettings.php @@ -477,8 +477,11 @@ class CompanySettings extends BaseSettings public $e_invoice_type = 'EN16931'; + public $default_expense_payment_type_id = '0'; + public static $casts = [ - 'e_invoice_type' => 'string', + 'default_expense_payment_type_id' => 'string', + 'e_invoice_type' => 'string', 'mailgun_endpoint' => 'string', 'client_initiated_payments' => 'bool', 'client_initiated_payments_minimum' => 'float', From 95ed629ee67cb00b5c43d87d6a0676367579c3ca Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 24 Apr 2023 17:13:34 +1000 Subject: [PATCH 2/2] v5.5.107 --- VERSION.txt | 2 +- config/ninja.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index 1b51ee2d6687..7a2d21ef5ad9 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.5.106 \ No newline at end of file +5.5.107 \ No newline at end of file diff --git a/config/ninja.php b/config/ninja.php index 3c0e3b4dc374..0d6870142ed6 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -14,8 +14,8 @@ return [ 'require_https' => env('REQUIRE_HTTPS', true), 'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'), - 'app_version' => '5.5.106', - 'app_tag' => '5.5.106', + 'app_version' => '5.5.107', + 'app_tag' => '5.5.107', 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', ''),