projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
262fe98
)
fix savings ach? RT#11377
author
ivan
<ivan>
Thu, 27 Jan 2011 23:46:34 +0000
(23:46 +0000)
committer
ivan
<ivan>
Thu, 27 Jan 2011 23:46:34 +0000
(23:46 +0000)
FS/FS/cust_main/Billing_Realtime.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main/Billing_Realtime.pm
b/FS/FS/cust_main/Billing_Realtime.pm
index
5d1a20a
..
c8d328f
100644
(file)
--- a/
FS/FS/cust_main/Billing_Realtime.pm
+++ b/
FS/FS/cust_main/Billing_Realtime.pm
@@
-461,9
+461,9
@@
sub realtime_bop {
$content{bank_state} = exists($options{'paystate'})
? $options{'paystate'}
: $self->getfield('paystate');
$content{bank_state} = exists($options{'paystate'})
? $options{'paystate'}
: $self->getfield('paystate');
- $content{account_type}
= exists(
$options{'paytype'})
- ? uc($options{'paytype'})
|| 'CHECKING'
- : uc($self->getfield('paytype')) || 'CHECKING';
+ $content{account_type}
= (exists($options{'paytype'}) &&
$options{'paytype'})
+ ? uc($options{'paytype'})
+ : uc($self->getfield('paytype')) || '
PERSONAL
CHECKING';
$content{account_name} = $self->getfield('first'). ' '.
$self->getfield('last');
$content{account_name} = $self->getfield('first'). ' '.
$self->getfield('last');