summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_credit.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/cust_credit.html')
-rwxr-xr-xhttemplate/search/cust_credit.html63
1 files changed, 31 insertions, 32 deletions
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,
+ '',
+ '',
+ ],
+ )
%>