summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2004-08-19 16:35:17 +0000
committerivan <ivan>2004-08-19 16:35:17 +0000
commitbb8ac5b48b2a5c38b75f5f6eb09a31194f81786b (patch)
tree2b561201a1fdabf6ea91124650e18f973536f2ed
parentaef8e9696491331ed26197f43eb351ed4d416336 (diff)
add customer # to credit reports too
-rwxr-xr-xhttemplate/search/cust_credit.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/search/cust_credit.html b/httemplate/search/cust_credit.html
index c46caba13..faaa7a817 100755
--- a/httemplate/search/cust_credit.html
+++ b/httemplate/search/cust_credit.html
@@ -50,11 +50,13 @@
'count_addl' => [ '$%.2f total credited', ],
#'redirect' => $link,
'header' =>
- [ qw(Amount Date), 'Contact name', qw(Company By Reason) ],
+ [ 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 { my $cust_main = shift->cust_main;
$cust_main->get('last'). ', '. $cust_main->first;
},
@@ -64,11 +66,13 @@
'otaker',
'reason',
],
+ 'align' => 'rrrllll',
'links' => [
'',
'',
$clink,
$clink,
+ $clink,
'',
'',
],