projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
have expanded the AR aging summary to include other fields. Have not yet populated...
[freeside.git]
/
httemplate
/
search
/
elements
/
search-xls.html
diff --git
a/httemplate/search/elements/search-xls.html
b/httemplate/search/elements/search-xls.html
index
bc844a5
..
8334497
100644
(file)
--- a/
httemplate/search/elements/search-xls.html
+++ b/
httemplate/search/elements/search-xls.html
@@
-32,7
+32,10
@@
my $XLS = new IO::Scalar \$data;
my $workbook = $format->{class}->new($XLS)
or die "Error opening Excel file: $!";
my $workbook = $format->{class}->new($XLS)
or die "Error opening Excel file: $!";
-my $worksheet = $workbook->add_worksheet(substr($opt{'title'},0,31));
+my $title = $opt{'title'};
+$title =~ s/[\[\]\:\*\?\/\/]//g;
+$title = substr($title, 0, 31);
+my $worksheet = $workbook->add_worksheet($title);
$worksheet->protect();
$worksheet->protect();