diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2018-01-10 22:46:31 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2018-01-10 22:46:31 -0800 |
| commit | 77daf007ef522ae71041d9b094643cf868d8ecce (patch) | |
| tree | 3849fd8c41fc7fcd08567fab7ec90ae533808b0a /httemplate/misc | |
| parent | dd43be3233e0411109342c691a47d1b6d6747015 (diff) | |
| parent | 5136b6e7f17e6d86911f7feb520dd5b4248532bb (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/misc')
| -rw-r--r-- | httemplate/misc/payment.cgi | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index 35f57e8d6..5bfa29d70 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -12,8 +12,9 @@ <TABLE class="fsinnerbox"> - <& /elements/tr-amount_fee.html, - 'amount' => $amount, + <& /elements/tr-select-payment_options.html, + 'custnum' => $cust_main->custnum, + 'amount' => $balance, 'process-pkgpart' => scalar($conf->config('manual_process-pkgpart', $cust_main->agentnum)), 'process-display' => scalar($conf->config('manual_process-display')), @@ -356,15 +357,6 @@ my %states = map { $_->state => 1 } } ); 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); -} - my $payunique = "webui-payment-". time. "-$$-". rand() * 2**32; </%init> |
