From 75158a0c8516d4344b9c3796de33710480961b21 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Thu, 16 Jul 2015 17:39:56 -0700 Subject: [PATCH] fix HTML version of A/R report, from #25994 --- httemplate/search/elements/cust_main_dayranges.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/httemplate/search/elements/cust_main_dayranges.html b/httemplate/search/elements/cust_main_dayranges.html index 076565396..951eff29d 100644 --- a/httemplate/search/elements/cust_main_dayranges.html +++ b/httemplate/search/elements/cust_main_dayranges.html @@ -21,7 +21,7 @@ Example: 'query' => $sql_query, 'count_query' => $count_sql, 'header' => [ - @act_blank, + @act_head, @cust_header, '0-30', '30-60', @@ -248,7 +248,7 @@ if($opt{'payment_links'} && $curuser->access_right('Process payment') && @payby) @payby ); } -my (@act_blank, @act_fields, $act_align, $html_foot); +my (@act_head, @act_blank, @act_fields, $act_align, $html_foot); if (delete($opt{'email_checkboxes'})) { my $email_link = q!var url = toCGIString(); !; $email_link .= q/if (!url) { alert('No customers selected'); return false; }; /; @@ -271,7 +271,8 @@ if (delete($opt{'email_checkboxes'})) { qq!!; }; $act_align = 'l'; - push @act_blank, {nodownload => 1}; + push @act_head, {nodownload => 1}; + push @act_blank, ''; } -- 2.11.0