3 http_header('Content-Type' => 'text/comma-separated-values' );
5 for my $cust_pay_batch ( sort { $a->paybatchnum <=> $b->paybatchnum }
6 qsearch('cust_pay_batch', {} )
9 $cust_pay_batch->exp =~ /^\d{2}(\d{2})[\/\-](\d+)[\/\-]\d+$/;
10 my( $mon, $y ) = ( $2, $1 );
11 $mon = "0$mon" if $mon < 10;
14 %>,,,,<%= $cust_pay_batch->cardnum %>,<%= $exp %>,<%= $cust_pay_batch->amount %>,<%= $cust_pay_batch->paybatchnum %>