mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Removed html escape from text email blade files
This commit is contained in:
parent
9f7f6f220a
commit
e2626051dc
@ -41,7 +41,6 @@ class Mailer
|
|||||||
return true;
|
return true;
|
||||||
} catch (Exception $exception) {
|
} catch (Exception $exception) {
|
||||||
if (isset($_ENV['POSTMARK_API_TOKEN'])) {
|
if (isset($_ENV['POSTMARK_API_TOKEN'])) {
|
||||||
//dd($exception->getResponse());
|
|
||||||
$response = $exception->getResponse()->getBody()->getContents();
|
$response = $exception->getResponse()->getBody()->getContents();
|
||||||
$response = json_decode($response);
|
$response = json_decode($response);
|
||||||
return nl2br($response->Message);
|
return nl2br($response->Message);
|
||||||
|
@ -1 +1 @@
|
|||||||
{{ $text }}
|
{!! $text !!}
|
@ -1,11 +1,11 @@
|
|||||||
{{ trans('texts.email_salutation', ['name' => $userName]) }}
|
{!! trans('texts.email_salutation', ['name' => $userName]) !!}
|
||||||
|
|
||||||
{{ trans("texts.notification_{$entityType}_paid", ['amount' => $paymentAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }}
|
{!! trans("texts.notification_{$entityType}_paid", ['amount' => $paymentAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) !!}
|
||||||
|
|
||||||
{{ trans("texts.{$entityType}_link_message") }}
|
{!! trans("texts.{$entityType}_link_message") !!}
|
||||||
{{ $invoiceLink }}
|
{!! $invoiceLink !!}
|
||||||
|
|
||||||
{{ trans('texts.email_signature') }}
|
{!! trans('texts.email_signature') !!}
|
||||||
{{ trans('texts.email_from') }}
|
{!! trans('texts.email_from') !!}
|
||||||
|
|
||||||
{{ trans('texts.user_email_footer') }}
|
{!! trans('texts.user_email_footer') !!}
|
@ -1,8 +1,8 @@
|
|||||||
{{ trans('texts.email_salutation', ['name' => $userName]) }}
|
{!! trans('texts.email_salutation', ['name' => $userName]) !!}
|
||||||
|
|
||||||
{{ trans("texts.notification_{$entityType}_sent", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }}
|
{!! trans("texts.notification_{$entityType}_sent", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) !!}
|
||||||
|
|
||||||
{{ trans('texts.email_signature') }}
|
{!! trans('texts.email_signature') !!}
|
||||||
{{ trans('texts.email_from') }}
|
{!! trans('texts.email_from') !!}
|
||||||
|
|
||||||
{{ trans('texts.user_email_footer') }}
|
{!! trans('texts.user_email_footer') !!}
|
@ -1,8 +1,8 @@
|
|||||||
{{ trans('texts.email_salutation', ['name' => $userName]) }}
|
{!! trans('texts.email_salutation', ['name' => $userName]) !!}
|
||||||
|
|
||||||
{{ trans("texts.notification_{$entityType}_viewed", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }}
|
{!! trans("texts.notification_{$entityType}_viewed", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) !!}
|
||||||
|
|
||||||
{{ trans('texts.email_signature') }}
|
{!! trans('texts.email_signature') !!}
|
||||||
{{ trans('texts.email_from') }}
|
{!! trans('texts.email_from') !!}
|
||||||
|
|
||||||
{{ trans('texts.user_email_footer') }}
|
{!! trans('texts.user_email_footer') !!}
|
@ -1,8 +1,8 @@
|
|||||||
{{ $client }},
|
{!! $client !!},
|
||||||
|
|
||||||
{{ trans('texts.payment_message', ['amount' => $amount]) }}
|
{!! trans('texts.payment_message', ['amount' => $amount]) !!}
|
||||||
|
|
||||||
{{ $license }}
|
{!! $license !!}
|
||||||
|
|
||||||
{{ trans('texts.email_signature') }}
|
{!! trans('texts.email_signature') !!}
|
||||||
{{ $account }}
|
{!! $account !!}
|
@ -1,8 +1,8 @@
|
|||||||
{{ trans('texts.email_salutation', ['name' => $userName]) }}
|
{!! trans('texts.email_salutation', ['name' => $userName]) !!}
|
||||||
|
|
||||||
{{ trans("texts.notification_{$entityType}_approved", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }}
|
{!! trans("texts.notification_{$entityType}_approved", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) !!}
|
||||||
|
|
||||||
{{ trans('texts.email_signature') }}
|
{!! trans('texts.email_signature') !!}
|
||||||
{{ trans('texts.email_from') }}
|
{!! trans('texts.email_from') !!}
|
||||||
|
|
||||||
{{ trans('texts.user_email_footer') }}
|
{!! trans('texts.user_email_footer') !!}
|
Loading…
x
Reference in New Issue
Block a user