X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_refund.cgi;h=bea3786f76cf9f427cd423bf88c5587fdf02a112;hp=d3ce167f08c5b57f21d57625751471bc02b0ca57;hb=833839f66761df30a0b0b965ed4314cce32f8f3d;hpb=2cac06d64772fe6dd61882ac5fac10a7d620a20d diff --git a/httemplate/edit/cust_refund.cgi b/httemplate/edit/cust_refund.cgi index d3ce167f0..bea3786f7 100755 --- a/httemplate/edit/cust_refund.cgi +++ b/httemplate/edit/cust_refund.cgi @@ -110,10 +110,13 @@ <% FS::payby->payname($real_payby) %> # <% $real_paymask %> -% if ( $conf->exists("batch-enable") -% || grep $real_payby eq $_, $conf->config('batch-enable_payby') -% ) { -% if ( grep $real_payby eq $_, $conf->config('realtime-disable_payby') ) { +% if ($payby eq "CARD" || $payby eq "DCRD") { + +% } +% elsif ( $conf->exists("batch-enable") +% || grep $payby eq $_, $conf->config('batch-enable_payby') +% ) { +% if ( grep $payby eq $_, $conf->config('realtime-disable_payby') ) { % } else {