X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-amount_fee.html;h=0ae6a0f74156a16bc958f0f6fe3218bd37de50c3;hp=1c78d7ec1c49a97d592ac9c5d9bb490f9dcb8cae;hb=4fd1280540e2c9b90fa59c0c32d691f5222f65d4;hpb=86448cce000b5c1db8e33b7884b6acd6ea7906c6 diff --git a/httemplate/elements/tr-amount_fee.html b/httemplate/elements/tr-amount_fee.html index 1c78d7ec1..0ae6a0f74 100644 --- a/httemplate/elements/tr-amount_fee.html +++ b/httemplate/elements/tr-amount_fee.html @@ -1,6 +1,6 @@ - > + <% mt('Payment amount') |h %> - + -% if ($fee || $surcharge) { +% if ( $processing_fee ) { + + + + +% } + +% if ($fee || $surcharge_percentage || $surcharge_flatfee || $processing_fee) {
<% $money_char %><% length($amount) ? $money_char. sprintf('%.2f', ($fee_display eq 'add') ? $amount + $fee : $amount - $fee ) : '' %> <% $fee_display eq 'add' ? 'TOTAL' : 'AVAILABLE' %> % } -% if ( $surcharge ) { +% if ( $surcharge_percentage || $surcharge_flatfee ) { @@ -38,7 +38,23 @@
<% mt('Apply processing fee') |h %> + + + +
+ + + A processing fee of <% $processing_fee %> is being applied to this transaction. +
+