X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_payby.pm;h=410d69093f300871927fc6e99578a44504aa323f;hp=9d8be120a841bef2550f3a1bd927da3fca1f1c19;hb=5372897f367498972c96f5494e142e6e11b29eb8;hpb=988d4dcd7e27b38f15edf00ae5b9dd75b9bd0c35 diff --git a/FS/FS/cust_payby.pm b/FS/FS/cust_payby.pm index 9d8be120a..410d69093 100644 --- a/FS/FS/cust_payby.pm +++ b/FS/FS/cust_payby.pm @@ -668,7 +668,7 @@ sub label { =item realtime_bop -Runs a L transaction on this card +Runs a L transaction on this card =cut @@ -684,7 +684,7 @@ sub realtime_bop { =item tokenize -Runs a L transaction on this card +Runs a L transaction on this card =cut @@ -931,7 +931,7 @@ sub has_autobill_cards { weight => { op => '>', value => 0 }, }, extra_sql => - "AND payby IN ('CARD', 'DCRD') ". + "AND cust_payby.payby IN ('CARD', 'DCRD') ". 'AND '. $FS::CurrentUser::CurrentUser->agentnums_sql( table => 'cust_main' ), }); @@ -952,7 +952,7 @@ sub has_autobill_checks { weight => { op => '>', value => 0 }, }, extra_sql => - "AND payby IN ('CHEK','DCHEK','DCHK') ". + "AND cust_payby.payby IN ('CHEK','DCHEK','DCHK') ". 'AND '. $FS::CurrentUser::CurrentUser->agentnums_sql( table => 'cust_main' ), });