From: ivan Date: Thu, 27 Jan 2011 23:46:34 +0000 (+0000) Subject: fix savings ach? RT#11377 X-Git-Tag: freeside_2_3_0~683 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=25e6733121bd27638a1b15f6365f63cc5c17f5ab;hp=262fe981ce32e32058eb01f1a6c3e4112794eb88 fix savings ach? RT#11377 --- diff --git a/FS/FS/cust_main/Billing_Realtime.pm b/FS/FS/cust_main/Billing_Realtime.pm index 5d1a20abc..c8d328fcf 100644 --- 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{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');