diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2018-12-27 14:39:04 -0500 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-12-27 15:43:21 -0500 |
| commit | f0296b262d6ad4a62de638292146e0dde07cb67d (patch) | |
| tree | 2645597e057f107c2ec0851c21fae9a5a98df76e | |
| parent | a60bdec8108c9b433c56ab067db6e22cd09cbb07 (diff) | |
RT# 74537 - fixes error where paytype is blank in V3
| -rw-r--r-- | fs_selfservice/FS-SelfService/cgi/change_pay.html | 4 | ||||
| -rw-r--r-- | fs_selfservice/FS-SelfService/cgi/check.html | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/change_pay.html b/fs_selfservice/FS-SelfService/cgi/change_pay.html index 75ceee8f7..9ed621f9a 100644 --- a/fs_selfservice/FS-SelfService/cgi/change_pay.html +++ b/fs_selfservice/FS-SelfService/cgi/change_pay.html @@ -40,8 +40,8 @@ ); ## 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 ) { diff --git a/fs_selfservice/FS-SelfService/cgi/check.html b/fs_selfservice/FS-SelfService/cgi/check.html index 17635c306..b6fead12a 100644 --- a/fs_selfservice/FS-SelfService/cgi/check.html +++ b/fs_selfservice/FS-SelfService/cgi/check.html @@ -1,3 +1,9 @@ +<%= + $OUT = ''; + if ($ach_read_only) { + $OUT .= qq!<TR><TD COLSPAN=2><FONT COLOR="red">You only have read only access</TD></TR>!; + } +%> <TR> <TD ALIGN="right">Account type</TD> <TD <%= ($ach_read_only ? ' BGCOLOR="#ffffff"' : '') %> > |
