summaryrefslogtreecommitdiff
path: root/httemplate/edit/msg_template
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-06-25 10:55:00 -0400
committerChristopher Burger <burgerc@freeside.biz>2019-06-25 12:00:21 -0400
commit6db5c31175c207fd6fdae97b1d7ecb719d6c94aa (patch)
tree2a3531a183843d674ebe090cb120bc618d360853 /httemplate/edit/msg_template
parent482141ff3752cb2d32c7002078735489dec30e06 (diff)
RT# 82137 - added processing fee template substitution.
Diffstat (limited to 'httemplate/edit/msg_template')
-rw-r--r--httemplate/edit/msg_template/email.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/edit/msg_template/email.html b/httemplate/edit/msg_template/email.html
index 53f538b11..a400bc804 100644
--- a/httemplate/edit/msg_template/email.html
+++ b/httemplate/edit/msg_template/email.html
@@ -297,6 +297,7 @@ my %substitutions = (
'cust_pay' => [
'$paynum' => 'Payment#',
'$paid' => 'Amount',
+ '$processing_fee' => 'Processing fee',
'$payby' => 'Payment method',
'$date' => 'Payment date',
'$payinfo' => 'Card/account# (masked)',
@@ -372,6 +373,7 @@ Substitutions: '
Enclose substitutions and other Perl expressions in braces:
<BR>{ $name } = ExampleCo (Smith, John)
<BR>{ time2str("%D", time) } = '.time2str("%D", time).'
+<BR>{ "processing fee of $processing_fee" if $processing_fee; } = Will display text if there is a processing fee
</P>';
$sidebar .= include('/elements/template_image-dialog.html',
'callback' => 'insertHtml'