X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_credit.html;h=b978e6238a613d457144a128810437f5c59ff6bb;hp=8f6258e4e79bba6cd319e1aa178f6d15e49599f0;hb=34647c32b50ce3b8ee1b6d3d7aef4ba9d0297bdb;hpb=f34557b8890dcc63db6c5588233dc7bfa9d39f22 diff --git a/httemplate/search/cust_credit.html b/httemplate/search/cust_credit.html index 8f6258e4e..b978e6238 100755 --- a/httemplate/search/cust_credit.html +++ b/httemplate/search/cust_credit.html @@ -54,36 +54,35 @@ my $clink = [ "${p}view/cust_main.cgi?", 'custnum' ]; -%> -<%= include( 'elements/search.html', - 'title' => $title, - 'name' => 'credits', - 'query' => $sql_query, - 'count_query' => $count_query, - 'count_addl' => [ '$%.2f total credited', ], - #'redirect' => $link, - 'header' => - [ qw(Amount Date), 'Cust #', 'Contact name', - qw(Company By Reason) ], - 'fields' => [ - #'crednum', - sub { sprintf('$%.2f', shift->amount ) }, - sub { time2str('%b %d %Y', shift->_date ) }, - 'custnum', - sub { $_[0]->get('last'). ', '. $_[0]->first; }, - 'company', - 'otaker', - 'reason', - ], - 'align' => 'rrrllll', - 'links' => [ - '', - '', - $clink, - $clink, - $clink, - '', - '', - ], - ) +%><%= include( 'elements/search.html', + 'title' => $title, + 'name' => 'credits', + 'query' => $sql_query, + 'count_query' => $count_query, + 'count_addl' => [ '$%.2f total credited', ], + #'redirect' => $link, + 'header' => + [ qw(Amount Date), 'Cust #', 'Contact name', + qw(Company By Reason) ], + 'fields' => [ + #'crednum', + sub { sprintf('$%.2f', shift->amount ) }, + sub { time2str('%b %d %Y', shift->_date ) }, + 'custnum', + sub { $_[0]->get('last'). ', '. $_[0]->first; }, + 'company', + 'otaker', + 'reason', + ], + 'align' => 'rrrllll', + 'links' => [ + '', + '', + $clink, + $clink, + $clink, + '', + '', + ], + ) %>