diff options
| author | Jonathan Prykop <jonathan@freeside.biz> | 2015-04-22 19:46:28 -0500 |
|---|---|---|
| committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-04-29 16:07:50 -0500 |
| commit | 11c37682117db820ace7f6bbd80c3d7efba5ee8f (patch) | |
| tree | 278017174c809806a3204f1e3b8b1205d4117b07 /httemplate | |
| parent | 8ea744edd71f90160d5268d4ab1cbcd3d6bfb806 (diff) | |
RT#34134: Processing a Credit Card Payment on Accounts
Diffstat (limited to 'httemplate')
| -rw-r--r-- | httemplate/misc/payment.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index 90b03c7e8..b83ad7166 100644 --- 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 ) { - $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; |
