mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 05:32:39 +01:00
commit
e37129a449
@ -1 +1 @@
|
||||
5.2.11
|
||||
5.2.12
|
@ -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())
|
||||
|
@ -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', ''),
|
||||
|
@ -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 ?? ''])
|
||||
<div class="center">
|
||||
<h1>{{ ctrans('texts.import_complete') }}</h1>
|
||||
<p>Hello, here is the output of your recent import job.</p>
|
||||
|
Loading…
Reference in New Issue
Block a user