projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#34134: Processing a Credit Card Payment on Accounts
[freeside.git]
/
httemplate
/
misc
/
payment.cgi
diff --git
a/httemplate/misc/payment.cgi
b/httemplate/misc/payment.cgi
index
90b03c7
..
b83ad71
100644
(file)
--- a/
httemplate/misc/payment.cgi
+++ b/
httemplate/misc/payment.cgi
@@
-273,7
+273,9
@@
my @states = sort { $a cmp $b } keys %states;
my $amount = '';
if ( $balance > 0 ) {
my $amount = '';
if ( $balance > 0 ) {
- $amount = $balance;
+ $amount = $balance
+ unless $conf->exists('manual_process-single_invoice_amount')
+ && ($cust_main->open_cust_bill != 1);
}
my $payunique = "webui-payment-". time. "-$$-". rand() * 2**32;
}
my $payunique = "webui-payment-". time. "-$$-". rand() * 2**32;