mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
ACHVerificationNotification:
- Pass $company into view - Update view to use client layout - Fixes for client layout / whitelabel handling
This commit is contained in:
parent
fd58f1cadb
commit
4cba96d973
@ -47,6 +47,7 @@ class ACHVerificationNotification extends Mailable
|
|||||||
->view('email.gateways.ach-verification-notification', [
|
->view('email.gateways.ach-verification-notification', [
|
||||||
'logo' => $this->company->present()->logo(),
|
'logo' => $this->company->present()->logo(),
|
||||||
'settings' => $this->company->settings,
|
'settings' => $this->company->settings,
|
||||||
|
'company' => $this->company,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@component('email.template.admin', ['logo' => $logo, 'settings' => $settings])
|
@component('email.template.client', ['logo' => $logo, 'settings' => $settings, 'company' => $company])
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<h1>{{ ctrans('texts.ach_verification_notification_label') }}</h1>
|
<h1>{{ ctrans('texts.ach_verification_notification_label') }}</h1>
|
||||||
<p>{{ ctrans('texts.ach_verification_notification') }}</p>
|
<p>{{ ctrans('texts.ach_verification_notification') }}</p>
|
||||||
|
@ -111,15 +111,21 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div style="border: 1px solid #c2c2c2; border-top: none; border-bottom: none;" id="content">
|
<div style="border: 1px solid #c2c2c2; border-top: none; border-bottom: none; padding: 20px;" id="content">
|
||||||
<div style="padding-top: 10px;"></div>
|
<div style="padding-top: 10px;"></div>
|
||||||
|
|
||||||
{{ $slot }}
|
{{ $slot}}
|
||||||
</div>
|
|
||||||
|
<div>
|
||||||
|
<a href="#"
|
||||||
|
style="display: inline-block;background-color: #0091ea; color: #ffffff; text-transform: uppercase;letter-spacing: 2px; text-decoration: none; font-size: 13px; font-weight: 600;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@if(isset($company) & $company instanceof \App\Models\Company)
|
@if(isset($company) && $company instanceof \App\Models\Company)
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="dark-bg dark-text-white"
|
<div class="dark-bg dark-text-white"
|
||||||
@ -147,6 +153,10 @@
|
|||||||
font-family: Verdana, Geneva, Tahoma, sans-serif;">© {{ date('Y') }} Invoice Ninja, All
|
font-family: Verdana, Geneva, Tahoma, sans-serif;">© {{ date('Y') }} Invoice Ninja, All
|
||||||
Rights Reserved
|
Rights Reserved
|
||||||
</p>
|
</p>
|
||||||
|
@else
|
||||||
|
<p style="text-align: center; color: #ffffff; font-size: 10px; font-family: Verdana, Geneva, Tahoma, sans-serif;">
|
||||||
|
© {{ date('Y') }} Invoice Ninja, All Rights Reserved
|
||||||
|
</p>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user