diff --git a/app/Models/Account.php b/app/Models/Account.php
index cecb48237406..3cca054f42e1 100644
--- a/app/Models/Account.php
+++ b/app/Models/Account.php
@@ -745,9 +745,15 @@ class Account extends Eloquent
$entityType = ENTITY_INVOICE;
}
- $template = "
\$client,
" .
- "" . trans("texts.{$entityType}_message", ['amount' => '$amount']) . "
" .
- "\$viewLink
";
+ $template = "\$client,
";
+
+ if ($this->isPro() && $this->email_design_id != EMAIL_DESIGN_PLAIN) {
+ $template .= "" . trans("texts.{$entityType}_message_button", ['amount' => '$amount']) . "
" .
+ "\$viewButton
";
+ } else {
+ $template .= "" . trans("texts.{$entityType}_message", ['amount' => '$amount']) . "
" .
+ "\$viewLink
";
+ }
if ($message) {
$template .= "$message\r\n\r\n";
diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php
index ba7fb23d8a20..6fd77cd1cb59 100644
--- a/resources/lang/en/texts.php
+++ b/resources/lang/en/texts.php
@@ -1034,5 +1034,8 @@ return array(
'live_preview' => 'Live Preview',
'invalid_mail_config' => 'Unable to send email, please check that the mail settings are correct.',
-
+ 'invoice_message_button' => 'To view your invoice for :amount, click the button below.',
+ 'quote_message_button' => 'To view your quote for :amount, click the button below.',
+ 'payment_message_button' => 'Thank you for your payment of :amount.',
+
);
\ No newline at end of file