mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Admin: DownloadInvoices / download_files.blade.php
This commit is contained in:
parent
3f5feacf16
commit
8b568d6147
@ -29,13 +29,10 @@ class DownloadInvoices 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_files'))
|
->subject(ctrans('texts.download_files'))
|
||||||
->markdown(
|
->view('email.admin.download_files', [
|
||||||
'email.admin.download_files',
|
|
||||||
[
|
|
||||||
'url' => $this->file_path,
|
'url' => $this->file_path,
|
||||||
'logo' => $this->company->present()->logo,
|
'logo' => $this->company->present()->logo,
|
||||||
'whitelabel' => $this->company->account->isPaid() ? true : false,
|
'whitelabel' => (bool)$this->company->account->isPaid(),
|
||||||
]
|
]);
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,36 +1,10 @@
|
|||||||
@component('email.template.master', ['design' => 'light', 'settings' =>$settings])
|
@component('email.template.admin-light', ['logo' => $logo, 'settings' => $settings])
|
||||||
|
<div class="center">
|
||||||
|
<h1>{{ ctrans('texts.download') }}</h1>
|
||||||
|
<p>{{ ctrans('texts.download_timeframe') }}</p>
|
||||||
|
|
||||||
@slot('header')
|
<a target="_blank" class="button" href="{{ $url }}">
|
||||||
@component('email.components.header', ['p' => '', 'logo' => $logo])
|
{{ ctrans('texts.download') }}
|
||||||
@lang('texts.download')
|
</a>
|
||||||
@endcomponent
|
</div>
|
||||||
|
|
||||||
@endslot
|
|
||||||
|
|
||||||
|
|
||||||
@if(isset($greeting))
|
|
||||||
<p style="padding-top:20px">{{ $greeting }}</p>
|
|
||||||
@endif
|
|
||||||
|
|
||||||
<p style="padding-top:20px">
|
|
||||||
@lang('texts.download_timeframe')
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p style="padding-top:20px">
|
|
||||||
@component('email.components.button', ['url' => $url])
|
|
||||||
@lang('texts.download')
|
|
||||||
@endcomponent
|
|
||||||
</p>
|
|
||||||
|
|
||||||
@slot('signature')
|
|
||||||
InvoiceNinja (contact@invoiceninja.com)
|
|
||||||
@endslot
|
|
||||||
|
|
||||||
@if(!$whitelabel)
|
|
||||||
@slot('footer')
|
|
||||||
@component('email.components.footer', ['url' => 'https://invoiceninja.com', 'url_text' => '© InvoiceNinja'])
|
|
||||||
For any info, please visit InvoiceNinja.
|
|
||||||
@endcomponent
|
|
||||||
@endslot
|
|
||||||
@endif
|
|
||||||
@endcomponent
|
@endcomponent
|
Loading…
x
Reference in New Issue
Block a user