summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2009-10-05 02:36:03 +0000
committerivan <ivan>2009-10-05 02:36:03 +0000
commit357b4e26965895666685590d59f72de331fecb08 (patch)
tree1275e3c0985e721110074f4d0ad782879ee82429 /httemplate
parent0c2679eee18b3b073bc91657fcf85c5dd2e5efc0 (diff)
add manual_process-skip_first option, RT#5889
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/misc/payment.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi
index d35e73f14..ada925c55 100644
--- a/httemplate/misc/payment.cgi
+++ b/httemplate/misc/payment.cgi
@@ -302,6 +302,8 @@ my $fee_display = '';
my $fee_op = '';
if ( $conf->config('manual_process-pkgpart') ) {
+ last if $conf->exists('manual_process-skip_first') && ! $cust_main->cust_pay;
+
$fee_display = $conf->config('manual_process-display') || 'add';
$fee_op = $fee_display eq 'add' ? '+' : '-';