X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-amount_fee.html;h=a84fef6ec824ea57d7ab122818fe591042fe7dcb;hp=9e6d9e96d9257e2d3dd99044edc4fae545851d67;hb=833cfe5c9938d33c3e6b97ed610c25a7afa6eb04;hpb=01c9143a54bf5e1513537547fd362822f58d1e2a diff --git a/httemplate/elements/tr-amount_fee.html b/httemplate/elements/tr-amount_fee.html index 9e6d9e96d..a84fef6ec 100644 --- a/httemplate/elements/tr-amount_fee.html +++ b/httemplate/elements/tr-amount_fee.html @@ -1,6 +1,6 @@ - > + <% mt('Payment amount') |h %> - +
<% $money_char %><% length($amount) ? $money_char. sprintf('%.2f', ($fee_display eq 'add') ? $amount + $fee : $amount - $fee ) : '' %> <% $fee_display eq 'add' ? 'TOTAL' : 'AVAILABLE' %> % } +% if ( $surcharge_percentage || $surcharge_flatfee ) { + + + + A credit card surcharge of <% $money_char. sprintf('%.2f', $surcharge) %> is included in this payment +% }
-% if ( $fee ) { +% if ($fee || $surcharge_percentage || $surcharge_flatfee ) {