diff options
| author | mark <mark> | 2010-04-01 04:44:20 +0000 |
|---|---|---|
| committer | mark <mark> | 2010-04-01 04:44:20 +0000 |
| commit | 7c02bdc86a3b0ca0804f4b0a696ff7d2cdb1f141 (patch) | |
| tree | 1fde444390fba0064cf502dd254a8a0604d03187 /httemplate/search/elements/search-html.html | |
| parent | 5320e62fea03b68d2d106fba8842d7494e1385ef (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.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/search/elements/search-html.html b/httemplate/search/elements/search-html.html index 6b915a617..3d4a4b039 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 %> > |
