app/Mail/ExistingMigration.php

This commit is contained in:
Benjamin Beganović 2021-06-09 17:16:16 +02:00
parent e86463a27e
commit 32fc72913b
2 changed files with 6 additions and 5 deletions

View File

@ -39,7 +39,8 @@ class ExistingMigration extends Mailable
$this->logo = $this->company->present()->logo(); $this->logo = $this->company->present()->logo();
$this->company_name = $this->company->present()->name(); $this->company_name = $this->company->present()->name();
return $this->from(config('mail.from.address'), config('mail.from.name')) return $this
->view('email.migration.existing'); ->from(config('mail.from.address'), config('mail.from.name'))
->view('email.migration.existing');
} }
} }

View File

@ -1,6 +1,6 @@
@component('email.template.admin-light', ['logo' => $logo, 'settings' => $settings]) @component('email.template.admin', ['logo' => $logo, 'settings' => $settings])
<div class="center"> <div class="center">
<h2>{{ ctrans('texts.migration_already_completed') }}</h2> <h1>{{ ctrans('texts.migration_already_completed') }}</h1>
<p>{{ ctrans('texts.migration_already_completed_desc', ['company_name' => $company_name]) }}</p> <p>{!! ctrans('texts.migration_already_completed_desc', ['company_name' => $company_name]) !!}</p>
</div> </div>
@endcomponent @endcomponent