mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 13:04:30 -04:00
app/Mail/DownloadInvoices.php
This commit is contained in:
parent
795a666885
commit
e86463a27e
@ -29,10 +29,12 @@ class DownloadInvoices extends Mailable
|
||||
{
|
||||
return $this->from(config('mail.from.address'), config('mail.from.name'))
|
||||
->subject(ctrans('texts.download_files'))
|
||||
->view('email.admin.download_files', [
|
||||
->view('email.admin.download_invoices', [
|
||||
'url' => $this->file_path,
|
||||
'logo' => $this->company->present()->logo,
|
||||
'whitelabel' => (bool)$this->company->account->isPaid(),
|
||||
'whitelabel' => $this->company->account->isPaid() ? true : false,
|
||||
'settings' => $this->company->settings,
|
||||
'greeting' => $this->company->present()->name(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
@ -4258,6 +4258,7 @@ $LANG = array(
|
||||
'ach_verification_notification' => 'Connecting bank accounts require verification. Stripe will automatically sends two small deposits for this purpose. These deposits take 1-2 business days to appear on the customer\'s online statement.',
|
||||
'login_link_requested_label' => 'Login link requested',
|
||||
'login_link_requested' => 'There was a request to login using link. If you did not request this, it\'s safe to ignore it.',
|
||||
'invoices_backup_subject' => 'Your invoices are ready for download',
|
||||
);
|
||||
|
||||
return $LANG;
|
||||
|
10
resources/views/email/admin/download_invoices.blade.php
Normal file
10
resources/views/email/admin/download_invoices.blade.php
Normal file
@ -0,0 +1,10 @@
|
||||
@component('email.template.admin', ['logo' => $logo, 'settings' => $settings])
|
||||
<div class="center">
|
||||
<h1>{{ ctrans('texts.invoices_backup_subject') }}</h1>
|
||||
<p>{{ ctrans('texts.download_timeframe') }}</p>
|
||||
|
||||
<a target="_blank" class="button" href="{{ $url }}">
|
||||
{{ ctrans('texts.download') }}
|
||||
</a>
|
||||
</div>
|
||||
@endcomponent
|
Loading…
x
Reference in New Issue
Block a user