summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-04-29 16:03:36 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-04-29 16:03:36 -0500
commit8c8a76cd23a7022b7616cdf16bb3bbe208813810 (patch)
treef326a7ab6c4d78c41d4b345e4d7d2c409464d2d2 /httemplate/misc
parenteccc0b7af126b0c7450de27165866bbb1786f65e (diff)
RT#34134: Processing a Credit Card Payment on Accounts [added comment]
Diffstat (limited to 'httemplate/misc')
-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 b83ad7166..12fca2086 100644
--- a/httemplate/misc/payment.cgi
+++ b/httemplate/misc/payment.cgi
@@ -273,6 +273,8 @@ my @states = sort { $a cmp $b } keys %states;
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);