mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Added email settings page
This commit is contained in:
parent
399ad76fc3
commit
f4863d3ec0
@ -731,7 +731,7 @@ class Account extends Eloquent
|
||||
|
||||
$template = "<div>\$client,</div><br>" .
|
||||
"<div>" . trans("texts.{$entityType}_message", ['amount' => '$amount']) . "</div><br>" .
|
||||
"<div><a href=\"\$viewLink\">\$viewLink</a></div><br>";
|
||||
"<div>\$viewLink</div><br>";
|
||||
|
||||
if ($message) {
|
||||
$template .= "$message<p/>\r\n\r\n";
|
||||
@ -742,6 +742,8 @@ class Account extends Eloquent
|
||||
|
||||
public function getEmailTemplate($entityType, $message = false)
|
||||
{
|
||||
$template = false;
|
||||
|
||||
if ($this->isPro()) {
|
||||
$field = "email_template_{$entityType}";
|
||||
$template = $this->$field;
|
||||
|
@ -977,4 +977,5 @@ return array(
|
||||
|
||||
'token_expired' => 'Validation token was expired. Please try again.',
|
||||
'invoice_link' => 'Invoice Link',
|
||||
|
||||
);
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
@if (false && !$invitationMessage)
|
||||
@if (!$invitationMessage)
|
||||
@include('emails.confirm_action', ['user' => $user])
|
||||
@endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user