minor fixes for migration emails
This commit is contained in:
parent
db9d16b90b
commit
96014fd815
2 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ class MigrationCompleted extends Mailable
|
|||
$data['settings'] = $this->company->settings;
|
||||
$data['company'] = $this->company->fresh();
|
||||
$data['whitelabel'] = $this->company->account->isPaid() ? true : false;
|
||||
$data['check_data'] = $this->check_data;
|
||||
$data['check_data'] = $this->check_data ?: '';
|
||||
$data['logo'] = $this->company->present()->logo();
|
||||
|
||||
$result = $this->from(config('mail.from.address'), config('mail.from.name'))
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
<p><b>{{ ctrans('texts.documents') }}:</b> {{ count($company->documents) }} </p>
|
||||
@endif
|
||||
|
||||
@if($check_data)
|
||||
@if(isset($check_data))
|
||||
<p><b>Data Quality:</b></p>
|
||||
<p> {!! $check_data !!} </p>
|
||||
@endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue