X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-amount_fee.html;h=a84fef6ec824ea57d7ab122818fe591042fe7dcb;hb=9ea31f98372bc897fd0b4d7e63284eecabf27aa2;hp=1c78d7ec1c49a97d592ac9c5d9bb490f9dcb8cae;hpb=86448cce000b5c1db8e33b7884b6acd6ea7906c6;p=freeside.git diff --git a/httemplate/elements/tr-amount_fee.html b/httemplate/elements/tr-amount_fee.html index 1c78d7ec1..a84fef6ec 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 ($fee || $surcharge_percentage || $surcharge_flatfee ) {
<% $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,7 @@