X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-amount_fee.html;h=0ae6a0f74156a16bc958f0f6fe3218bd37de50c3;hb=7c2cf2ef058fe57af302e703685934418723f817;hp=e3b8d7800ef08d7290c9c2afe1cf601fbc93e710;hpb=9f40a9761707d5ea38e3a53e01ed2dab31aabca7;p=freeside.git diff --git a/httemplate/elements/tr-amount_fee.html b/httemplate/elements/tr-amount_fee.html index e3b8d7800..0ae6a0f74 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 %> - + % if ( $fee ) { @@ -28,17 +28,39 @@ <% 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 ( $processing_fee ) { + + <% mt('Apply processing fee') |h %> + + + + +
+ + + A processing fee of <% $processing_fee %> is being applied to this transaction. +
+ + +% } + +% if ($fee || $surcharge_percentage || $surcharge_flatfee || $processing_fee) {