diff --git a/VERSION.txt b/VERSION.txt index 3238344b3b0d..3caaea554760 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.4.4 \ No newline at end of file +5.4.5 \ No newline at end of file diff --git a/app/Utils/TemplateEngine.php b/app/Utils/TemplateEngine.php index 9acf3093ad42..143164031d91 100644 --- a/app/Utils/TemplateEngine.php +++ b/app/Utils/TemplateEngine.php @@ -105,7 +105,7 @@ class TemplateEngine private function setSettingsObject() { - if($this->entity == 'purchase_order'){ + if($this->entity == 'purchaseOrder'){ $this->settings_entity = auth()->user()->company(); $this->settings = $this->settings_entity->settings; } @@ -153,7 +153,7 @@ class TemplateEngine $this->raw_body = $this->body; $this->raw_subject = $this->subject; - if($this->entity == 'purchase_order'){ + if($this->entity == 'purchaseOrder'){ $this->fakerValues(); } elseif ($this->entity_obj) { @@ -269,7 +269,7 @@ class TemplateEngine private function mockEntity() { if(!$this->entity && $this->template && str_contains($this->template, 'purchase_order')) - $this->entity = 'purchase_order'; + $this->entity = 'purchaseOrder'; DB::connection(config('database.default'))->beginTransaction(); diff --git a/config/ninja.php b/config/ninja.php index 508852f4a799..a10a75913a20 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.4.4', - 'app_tag' => '5.4.4', + 'app_version' => '5.4.5', + 'app_tag' => '5.4.5', 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', ''),