mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 23:04:36 -04:00
Add view link to payment templates
This commit is contained in:
parent
de48512908
commit
3f202b8c58
@ -148,12 +148,10 @@ class EmailTemplateDefaults
|
|||||||
|
|
||||||
public static function emailPaymentTemplate()
|
public static function emailPaymentTemplate()
|
||||||
{
|
{
|
||||||
$converter = new CommonMarkConverter([
|
|
||||||
'html_input' => 'strip',
|
|
||||||
'allow_unsafe_links' => false,
|
|
||||||
]);
|
|
||||||
|
|
||||||
return $converter->convertToHtml(self::transformText('payment_message'));
|
$payment_message = '<p>'.self::transformText('payment_message').'</p><br><br><p>$view_link</p>';
|
||||||
|
|
||||||
|
return $payment_message;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -166,12 +164,11 @@ class EmailTemplateDefaults
|
|||||||
|
|
||||||
public static function emailPaymentPartialTemplate()
|
public static function emailPaymentPartialTemplate()
|
||||||
{
|
{
|
||||||
$converter = new CommonMarkConverter([
|
|
||||||
'html_input' => 'strip',
|
|
||||||
'allow_unsafe_links' => false,
|
|
||||||
]);
|
|
||||||
|
|
||||||
return $converter->convertToHtml(self::transformText('payment_message'));
|
$payment_message = '<p>'.self::transformText('payment_message').'</p><br><br><p>$view_link</p>';
|
||||||
|
|
||||||
|
return $payment_message;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function emailPaymentPartialSubject()
|
public static function emailPaymentPartialSubject()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user