mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for surcharge visibility
This commit is contained in:
parent
af8ec95e2c
commit
fcdc69c829
@ -1 +1 @@
|
||||
5.4.4
|
||||
5.4.5
|
@ -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();
|
||||
|
||||
|
@ -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', ''),
|
||||
|
Loading…
x
Reference in New Issue
Block a user