From c1cf74717bd47f5b89123eb1324c0e990c6dfe4d Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Tue, 25 Jun 2019 10:55:00 -0400 Subject: RT# 82137 - added processing fee template substitution. Conflicts: httemplate/edit/msg_template/email.html httemplate/elements/tr-amount_fee.html --- httemplate/edit/msg_template.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'httemplate/edit/msg_template.html') diff --git a/httemplate/edit/msg_template.html b/httemplate/edit/msg_template.html index 17e9966de..1fa94ab2b 100644 --- a/httemplate/edit/msg_template.html +++ b/httemplate/edit/msg_template.html @@ -291,6 +291,7 @@ my %substitutions = ( 'cust_pay' => [ '$paynum' => 'Payment#', '$paid' => 'Amount', + '$processing_fee' => 'Processing fee', '$payby' => 'Payment method', '$date' => 'Payment date', '$payinfo' => 'Card/account# (masked)', @@ -365,6 +366,7 @@ Substitutions: '
Enclose substitutions and other Perl expressions in braces:
{ $name } = ExampleCo (Smith, John)
{ time2str("%D", time) } = '.time2str("%D", time).' +
{ "processing fee of $processing_fee" if $processing_fee; } = Will display text if there is a processing fee '; -- cgit v1.2.1