projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 74537 - fixes error where paytype is blank in V3
[freeside.git]
/
fs_selfservice
/
FS-SelfService
/
cgi
/
change_pay.html
diff --git
a/fs_selfservice/FS-SelfService/cgi/change_pay.html
b/fs_selfservice/FS-SelfService/cgi/change_pay.html
index
e272669
..
2b3142f
100644
(file)
--- a/
fs_selfservice/FS-SelfService/cgi/change_pay.html
+++ b/
fs_selfservice/FS-SelfService/cgi/change_pay.html
@@
-39,8
+39,8
@@
);
## Don't show CHEK or DCHK option if ACH is read only
);
## Don't show CHEK or DCHK option if ACH is read only
- delete( $payby_index{'CHEK'} )
unless !$ach_read_only
;
- delete( $payby_index{'DCHK'} )
unless !$ach_read_only
;
+ delete( $payby_index{'CHEK'} )
if ($ach_read_only && $payby ne "CHEK")
;
+ delete( $payby_index{'DCHK'} )
if ($ach_read_only && $payby ne "DCHK")
;
tie my %options, 'Tie::IxHash', ();
foreach my $payby_option ( grep { exists( $payby_index{$_} ) } @paybys ) {
tie my %options, 'Tie::IxHash', ();
foreach my $payby_option ( grep { exists( $payby_index{$_} ) } @paybys ) {