summaryrefslogtreecommitdiff
path: root/httemplate/search/elements/search-html.html
diff options
context:
space:
mode:
authormark <mark>2010-04-01 04:43:55 +0000
committermark <mark>2010-04-01 04:43:55 +0000
commit35cff72e48d004b309409cac03e667463a558022 (patch)
treea8118d3d1ae4fb5e69dc0aa1c989ccc26cbf9122 /httemplate/search/elements/search-html.html
parent65f0f73df04de553919ee50145376955da20b315 (diff)
RT#866: links to process payments from aging report
Diffstat (limited to 'httemplate/search/elements/search-html.html')
-rw-r--r--httemplate/search/elements/search-html.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/search/elements/search-html.html b/httemplate/search/elements/search-html.html
index 417565d46..37178dcc2 100644
--- a/httemplate/search/elements/search-html.html
+++ b/httemplate/search/elements/search-html.html
@@ -177,8 +177,13 @@
<TR>
% my $h2 = 0;
+% my $colspan = 0;
% foreach my $header ( @{ $opt{header} } ) {
+% $colspan-- if $colspan > 0;
+% next if $colspan;
+%
% my $label = ref($header) ? $header->{label} : $header;
+% $colspan = ref($header) ? $header->{colspan} : 0;
% my $rowspan = 1;
% my $style = '';
% if ( $opt{header2} ) {
@@ -193,6 +198,7 @@
<TH CLASS = "grid"
BGCOLOR = "#cccccc"
ROWSPAN = "<% $rowspan %>"
+ <% $colspan ? 'COLSPAN = "'.$colspan.'"' : '' %>
<% $style %>
>