projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
11c3768
)
RT#34134: Processing a Credit Card Payment on Accounts [added comment]
author
Jonathan Prykop
<jonathan@freeside.biz>
Wed, 29 Apr 2015 21:03:36 +0000
(16:03 -0500)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Wed, 29 Apr 2015 21:08:02 +0000
(16:08 -0500)
httemplate/misc/payment.cgi
patch
|
blob
|
history
diff --git
a/httemplate/misc/payment.cgi
b/httemplate/misc/payment.cgi
index
b83ad71
..
12fca20
100644
(file)
--- 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);