[freeside-commits] branch FREESIDE_3_BRANCH updated. 0757f503bd30a99edddb6b18fed8ff00c9e91df8

Mark Wells mark at 420.am
Thu Jul 16 17:41:02 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  0757f503bd30a99edddb6b18fed8ff00c9e91df8 (commit)
      from  401e3ad37fbce24ae66b74465f95f612151b0d9f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0757f503bd30a99edddb6b18fed8ff00c9e91df8
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Jul 16 17:39:56 2015 -0700

    fix HTML version of A/R report, from #25994

diff --git a/httemplate/search/elements/cust_main_dayranges.html b/httemplate/search/elements/cust_main_dayranges.html
index 0765653..951eff2 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!<input type="checkbox" name="custnum" value="$custnum">!;
   };
   $act_align = 'l';
-  push @act_blank, {nodownload => 1};
+  push @act_head, {nodownload => 1};
+  push @act_blank, '';
 }
 
 </%init>

-----------------------------------------------------------------------

Summary of changes:
 httemplate/search/elements/cust_main_dayranges.html |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list