47 lines
2.6 KiB
PHP
47 lines
2.6 KiB
PHP
@component('emails.layouts.html', ['subject' => __('messages.reversal_issued_subject')])
|
|
|
|
{{-- Greeting --}}
|
|
<p style="font-family: {{ theme_font('font_family_body') }}, Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 20px 0; line-height: 1.6;">
|
|
{{ __('Hello :name,', ['name' => $profile->full_name ?? $profile->name]) }}
|
|
</p>
|
|
|
|
{{-- Main message --}}
|
|
<p style="font-family: {{ theme_font('font_family_body') }}, Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 20px 0; line-height: 1.6;">
|
|
{{ __(':bank has issued a reversal of :amount on your account to correct transaction #:id.', [
|
|
'bank' => $bank->name,
|
|
'amount' => $amountFormatted,
|
|
'id' => $originalTransactionId,
|
|
]) }}
|
|
</p>
|
|
|
|
<p style="font-family: {{ theme_font('font_family_body') }}, Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 30px 0; line-height: 1.6;">
|
|
<strong>{{ __('Reason:') }}</strong> {{ $description }}
|
|
</p>
|
|
|
|
{{-- Button --}}
|
|
<table role="presentation" class="mobile-button" cellpadding="0" cellspacing="0" border="0" align="center" style="margin: 30px auto;">
|
|
<tr>
|
|
<td align="center" style="border-radius: 6px; background-color: {{ theme_color('brand') }};">
|
|
<!--[if mso]>
|
|
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{ $buttonUrl }}" style="height:44px;v-text-anchor:middle;width:220px;" arcsize="14%" stroke="f" fillcolor="{{ theme_color('brand') }}">
|
|
<w:anchorlock/>
|
|
<center>
|
|
<![endif]-->
|
|
<a href="{{ $buttonUrl }}" style="background-color: {{ theme_color('brand') }}; border-radius: 6px; color: #ffffff; display: block; font-family: {{ theme_font('font_family_body') }}, Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; line-height: 44px; text-align: center; text-decoration: none; width: 220px; -webkit-text-size-adjust: none; mso-hide: all;">
|
|
{{ __('Review transactions') }}
|
|
</a>
|
|
<!--[if mso]>
|
|
</center>
|
|
</v:roundrect>
|
|
<![endif]-->
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
{{-- Closing --}}
|
|
<p style="font-family: {{ theme_font('font_family_body') }}, Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 30px 0 0 0; line-height: 1.6;">
|
|
{{ timebank_config('mail.platform_sign_off_signature.' . app()->getLocale()) ?? timebank_config('mail.platform_sign_off_signature.en', 'See you around!') }}
|
|
</p>
|
|
|
|
@endcomponent
|