mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
app/Mail/DownloadBackup.php
This commit is contained in:
parent
15acba27dd
commit
795a666885
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Invoice Ninja (https://invoiceninja.com).
|
* Invoice Ninja (https://invoiceninja.com).
|
||||||
*
|
*
|
||||||
@ -39,15 +40,12 @@ class DownloadBackup extends Mailable
|
|||||||
|
|
||||||
return $this->from(config('mail.from.address'), config('mail.from.name'))
|
return $this->from(config('mail.from.address'), config('mail.from.name'))
|
||||||
->subject(ctrans('texts.download_backup_subject', ['company' => $company->present()->name()]))
|
->subject(ctrans('texts.download_backup_subject', ['company' => $company->present()->name()]))
|
||||||
->markdown(
|
->view('email.admin.download_files', [
|
||||||
'email.admin.download_files',
|
|
||||||
[
|
|
||||||
'url' => $this->file_path,
|
'url' => $this->file_path,
|
||||||
'logo' => $company->present()->logo,
|
'logo' => $company->present()->logo,
|
||||||
'whitelabel' => $company->account->isPaid() ? true : false,
|
'whitelabel' => $company->account->isPaid() ? true : false,
|
||||||
'settings' => $company->settings,
|
'settings' => $company->settings,
|
||||||
'greeting' => $company->present()->name(),
|
'greeting' => $company->present()->name(),
|
||||||
]
|
]);
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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">
|
||||||
<h1>{{ ctrans('texts.download') }}</h1>
|
<h1>{{ ctrans('texts.download_backup_subject') }}</h1>
|
||||||
<p>{{ ctrans('texts.download_timeframe') }}</p>
|
<p>{{ ctrans('texts.download_timeframe') }}</p>
|
||||||
|
|
||||||
<a target="_blank" class="button" href="{{ $url }}">
|
<a target="_blank" class="button" href="{{ $url }}">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user