mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for email template translations
This commit is contained in:
parent
0ff47f4ee1
commit
9b1f5651c6
@ -66,7 +66,7 @@ trait SendsEmails
|
||||
|
||||
if ($this->hasFeature(FEATURE_CUSTOM_EMAILS) && $this->email_design_id != EMAIL_DESIGN_PLAIN) {
|
||||
$template .= '<div>' . trans("texts.{$entityType}_message_button", ['amount' => '$amount']) . '</div><br />' .
|
||||
'<div style="text-align: center;">$viewButton</div><br />';
|
||||
'<div style="text-align:center;">$viewButton</div><br />';
|
||||
} else {
|
||||
$template .= '<div>' . trans("texts.{$entityType}_message", ['amount' => '$amount']) . '</div><br />' .
|
||||
'<div>$viewLink</div><br />';
|
||||
|
Loading…
x
Reference in New Issue
Block a user