restore masked card info on batched payment report, RT#78166
[freeside.git] / httemplate / search / cust_pay_batch.cgi
index 9e02e1b..d7c7414 100755 (executable)
@@ -31,7 +31,7 @@
                                   sub {
                                     sprintf('%.02f', $_[0]->amount)
                                   },
-                                  sub { $_[0]->display_status },
+                                  'status',
                                   $sub_unbatch,
                                   'error_message',
                                 ],
@@ -114,7 +114,7 @@ $count_query = 'SELECT COUNT(*) FROM cust_pay_batch ' .
 
 $sql_query = {
   'table'     => 'cust_pay_batch',
-  'select'    => 'cust_pay_batch.*, cust_main.*, cust_pay.paynum',
+  'select'    => 'cust_pay_batch.*, cust_pay.paynum',
   'hashref'   => {},
   'addl_from' => 'LEFT JOIN pay_batch USING ( batchnum ) '.
                  'LEFT JOIN cust_main USING ( custnum ) '.