diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2015-04-27 02:59:21 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2015-04-27 02:59:21 -0700 |
| commit | ad3bcb39580173f0ac1b6357cb49515d48af7ddf (patch) | |
| tree | b375ba5593e04e332e93e836f136f55aa72645cb /httemplate/misc | |
| parent | 6be98dd167d1a77ff9f71c97c385bff65769f30d (diff) | |
| parent | 911b5f2429377b0b989e8a10e9971b2463e554a7 (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/misc')
| -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; |
