diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-04-29 16:03:36 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-04-29 16:08:02 -0500 |
commit | ff8b4b6909c09643439a4a2a7b0bc936b754e6d4 (patch) | |
tree | 85ebbe2f6421b34b4d6798029d71cad68d5abb19 /httemplate | |
parent | 11c37682117db820ace7f6bbd80c3d7efba5ee8f (diff) |
RT#34134: Processing a Credit Card Payment on Accounts [added comment]
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/misc/payment.cgi | 2 |
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); |