X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_pkg.html;h=3da59c2ac3d732237fc63bec8eb3f922c50cf25c;hb=4dc8bf3514ea36d834b238d5af0098779c4a44ad;hp=d9b6cd7a1ad49c46cd9276f89e240ac64b1b8618;hpb=5fdd19665fb7c0ad425a99d3dbf9ad7e27fbf44a;p=freeside.git diff --git a/httemplate/search/report_cust_pkg.html b/httemplate/search/report_cust_pkg.html index d9b6cd7a1..3da59c2ac 100755 --- a/httemplate/search/report_cust_pkg.html +++ b/httemplate/search/report_cust_pkg.html @@ -1,4 +1,4 @@ -<% include('/elements/header.html', $title ) %> +<& /elements/header.html, mt($title, @title_arg) &>
@@ -159,6 +159,8 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('List packages'); my $title = 'Package Report'; +#false laziness w/report_cust_bill.html +my @title_arg = (); my $custnum = ''; if ( $cgi->param('custnum') =~ /^(\d+)$/ ) { @@ -168,7 +170,8 @@ if ( $cgi->param('custnum') =~ /^(\d+)$/ ) { 'hashref' => { 'custnum' => $custnum }, 'extra_sql' => ' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql, }) or die "unknown custnum $custnum"; - $title .= ': '. $cust_main->name; + $title .= ': [_1]'; + push @title_arg, $cust_main->name; }