summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-01-03 09:49:58 -0500
committerChristopher Burger <burgerc@freeside.biz>2018-06-19 12:45:36 -0400
commitdcb7068e87e2130f939f6e83c3d40187ad39863a (patch)
tree8ad015f733349f362bf8ed3b2d11383130e939c4 /httemplate
parent929f727a3d09b7f4d4918fc6b15aade1a0e43ce6 (diff)
RT# 34134 - removed config option manual_process-single_invoice_amount from config and payment page that used it.
Conflicts: httemplate/misc/payment.cgi
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/misc/payment.cgi11
1 files changed, 1 insertions, 10 deletions
diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi
index f754f5a32..80cb15d79 100644
--- a/httemplate/misc/payment.cgi
+++ b/httemplate/misc/payment.cgi
@@ -14,7 +14,7 @@
<& /elements/tr-select-payment_options.html,
'custnum' => $cust_main->custnum,
- 'amount' => $amount,
+ 'amount' => $balance,
'process-pkgpart' =>
scalar($conf->config('manual_process-pkgpart', $cust_main->agentnum)),
'process-display' => scalar($conf->config('manual_process-display')),
@@ -187,15 +187,6 @@ my $payinfo = '';
my $conf = new FS::Conf;
-my $amount = '';
-if ( $balance > 0 ) {
- # when configured to do so, amount will only auto-fill with balance
- # if balance represents a single invoice
- $amount = $balance
- unless $conf->exists('manual_process-single_invoice_amount')
- && ($cust_main->open_cust_bill != 1);
-}
-
my $payunique = "webui-payment-". time. "-$$-". rand() * 2**32;
</%init>