diff --git a/VERSION.txt b/VERSION.txt index 7ef7e8d8c41c..1567ea7db232 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.2.11 \ No newline at end of file +5.2.12 \ No newline at end of file diff --git a/app/Mail/SupportMessageSent.php b/app/Mail/SupportMessageSent.php index db5c7f6bb2c4..0f0cf099d7c5 100644 --- a/app/Mail/SupportMessageSent.php +++ b/app/Mail/SupportMessageSent.php @@ -52,15 +52,19 @@ class SupportMessageSent extends Mailable $account = auth()->user()->account; - $plan = $account->plan ?: 'Forever Free'; + $priority = ''; + $plan = $account->plan ?: ''; + + if(strlen($plan) >1) + $priority = '[PRIORITY] '; $company = auth()->user()->company(); $user = auth()->user(); if(Ninja::isHosted()) - $subject = "Hosted {$user->present()->name} - [{$plan} - {$company->db}]"; + $subject = "{$priority}Hosted-{$company->db} :: Customer Support - [{$plan}]"; else - $subject = "Self Host {$user->present()->name} - [{$plan} - {$company->db}]"; + $subject = "{$priority}Self Hosted :: Customer Support - [{$plan}]"; return $this->from(config('mail.from.address'), $user->present()->name()) ->replyTo($user->email, $user->present()->name()) diff --git a/config/ninja.php b/config/ninja.php index 6e31749390e2..8d2e235be7e0 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.2.11', - 'app_tag' => '5.2.11', + 'app_version' => '5.2.12', + 'app_tag' => '5.2.12', 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', ''), diff --git a/resources/views/email/import/completed.blade.php b/resources/views/email/import/completed.blade.php index acefb2c17802..58bf01c4382d 100644 --- a/resources/views/email/import/completed.blade.php +++ b/resources/views/email/import/completed.blade.php @@ -1,4 +1,4 @@ -@component('email.template.admin', ['logo' => $logo, 'settings' => $settings, 'company' => $company ?? '']) +@component('email.template.admin', ['logo' => 'https://www.invoiceninja.com/wp-content/uploads/2015/10/logo-white-horizontal-1.png', 'settings' => $settings, 'company' => $company ?? ''])
Hello, here is the output of your recent import job.