X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-amount_fee.html;h=0ae6a0f74156a16bc958f0f6fe3218bd37de50c3;hp=12488521ad458419fd7dbe0ab67dc634557dae29;hb=4fd1280540e2c9b90fa59c0c32d691f5222f65d4;hpb=45346fd655ba53b82c80b920da945cc0b87ece01 diff --git a/httemplate/elements/tr-amount_fee.html b/httemplate/elements/tr-amount_fee.html index 12488521a..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) {