mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +01:00
Remove email fix from master
This commit is contained in:
parent
211b01406e
commit
9ecff34cb4
@ -1580,7 +1580,7 @@ class Account extends Eloquent
|
||||
*/
|
||||
public function getEmailDesignId()
|
||||
{
|
||||
return $this->hasFeature(FEATURE_CUSTOM_EMAILS) ? $this->account_email_settings->email_design_id : EMAIL_DESIGN_PLAIN;
|
||||
return $this->hasFeature(FEATURE_CUSTOM_EMAILS) ? $this->email_design_id : EMAIL_DESIGN_PLAIN;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -64,7 +64,7 @@ trait SendsEmails
|
||||
|
||||
$template = '<div>$client,</div><br />';
|
||||
|
||||
if ($this->hasFeature(FEATURE_CUSTOM_EMAILS) && $this->account_email_settings->email_design_id != EMAIL_DESIGN_PLAIN) {
|
||||
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 />';
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user