X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fpayment.cgi;h=f4f0b56dd6f3de2ee6836c51dc03c56f13c50a53;hb=c2ab0eeae00821ad4d32c1f976b710ccdf08f503;hp=12fca208664ac83505812047ab17317be543fc91;hpb=8c8a76cd23a7022b7616cdf16bb3bbe208813810;p=freeside.git diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index 12fca2086..f4f0b56dd 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -1,5 +1,7 @@ <& /elements/header.html, mt("Process [_1] payment",$type{$payby}) &> <& /elements/small_custview.html, $cust_main, '', '', popurl(2) . "view/cust_main.cgi" &> +
+
@@ -8,7 +10,7 @@ <& /elements/init_overlib.html &> -<% ntable('#cccccc') %> + <& /elements/tr-amount_fee.html, 'amount' => $amount, @@ -17,7 +19,11 @@ 'process-display' => scalar($conf->config('manual_process-display')), 'process-skip_first' => $conf->exists('manual_process-skip_first'), 'num_payments' => scalar($cust_main->cust_pay), - 'surcharge_percentage' => scalar($conf->config('credit-card-surcharge-percentage')), + 'surcharge_percentage' => + ( $payby eq 'CARD' + ? scalar($conf->config('credit-card-surcharge-percentage')) + : 0 + ), &> % if ( $conf->exists('part_pkg-term_discounts') ) { @@ -118,7 +124,7 @@ - +
<% mt('Account number') |h %> <% mt('Type') |h %>
<% mt($routing_label) |h %>