X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Fcust_main_dayranges.html;h=9bb3e918693bab2ba7b2d5f14a369c58fe2552ca;hb=2b199169bd62b8582eedb872b4e76bee48899e81;hp=e5b1f478ca231e53fbcd2a1866be39c627b3ec7c;hpb=5f10fda22d066f3e730db11b7c26938547014631;p=freeside.git diff --git a/httemplate/search/elements/cust_main_dayranges.html b/httemplate/search/elements/cust_main_dayranges.html index e5b1f478c..9bb3e9186 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', @@ -201,7 +201,6 @@ my $sql_query = { $range_cols, $packages_cols, FS::UI::Web::cust_sql_fields(), - 'payby', ), 'extra_sql' => $where, 'order_by' => "order by coalesce(lower(company), ''), lower(last)", @@ -248,7 +247,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,6 +270,7 @@ if (delete($opt{'email_checkboxes'})) { qq!!; }; $act_align = 'l'; + push @act_head, {nodownload => 1}; push @act_blank, ''; }