[freeside-commits] branch FREESIDE_4_BRANCH updated. 8c639f3a3c9f5f1739dc54bbf52aa40b89034025

Mark Wells mark at 420.am
Sat Oct 3 16:36:25 PDT 2015


The branch, FREESIDE_4_BRANCH has been updated
       via  8c639f3a3c9f5f1739dc54bbf52aa40b89034025 (commit)
       via  9de1c6d77384058a8bc0cb5e07a4437523ffc651 (commit)
      from  b3b7e88c21a4acf8b70c1863e2c7c2b7b89f6696 (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 8c639f3a3c9f5f1739dc54bbf52aa40b89034025
Author: Mark Wells <mark at freeside.biz>
Date:   Sat Oct 3 16:12:38 2015 -0700

    fix region-filtering of credit application search from tax report, #37088

diff --git a/httemplate/search/report_tax.cgi b/httemplate/search/report_tax.cgi
index 615abe5..0ad143f 100644
--- a/httemplate/search/report_tax.cgi
+++ b/httemplate/search/report_tax.cgi
@@ -77,7 +77,7 @@ TD.rowhead { font-weight: bold; text-align: left; padding: 0px 3px }
 %   # cust_bill_pkg.cgi wants a list of specific taxnums (and package class)
 %   # cust_credit_bill_pkg.html wants a geographic scope (and package class)
 %   my $rowlink = ';taxnum=' . $row->{taxnums};
-%   my $rowregion = '';
+%   my $rowregion = ';country=' . $cgi->param('country');
 %   foreach my $loc (qw(state county city district)) {
 %     if ( $row->{$loc} ) {
 %       $rowregion .= ";$loc=" . uri_escape($row->{$loc});
@@ -88,6 +88,7 @@ TD.rowhead { font-weight: bold; text-align: left; padding: 0px 3px }
 %     $rowlink .= ';classnum=' . ($row->{pkgclass} || 0);
 %     $rowregion .= ';classnum=' . ($row->{pkgclass} || 0);
 %   }
+%warn $rowregion;
 %
 %   if ( $row->{total} ) {
   </TBODY><TBODY CLASS="total">

commit 9de1c6d77384058a8bc0cb5e07a4437523ffc651
Author: Mark Wells <mark at freeside.biz>
Date:   Fri Oct 2 17:19:14 2015 -0700

    fix placement of "taxable" column, #37088

diff --git a/httemplate/search/report_tax.cgi b/httemplate/search/report_tax.cgi
index 6d0e95d..615abe5 100644
--- a/httemplate/search/report_tax.cgi
+++ b/httemplate/search/report_tax.cgi
@@ -125,14 +125,14 @@ TD.rowhead { font-weight: bold; text-align: left; padding: 0px 3px }
         <% $money_sprintf->( $row->{sales_credited} ) %>
       </A>
     </TD>
-    <TD CLASS="bigmath"> × </TD>
-    <TD><% $row->{rate} %></TD>
 %   # taxable sales
     <TD>
       <A HREF="<% $saleslink . $rowlink . ";taxable=1" %>">
         <% $money_sprintf->( $row->{taxable} ) %>
       </A>
     </TD>
+    <TD CLASS="bigmath"> × </TD>
+    <TD><% $row->{rate} %></TD>
 %   # estimated tax
     <TD CLASS="bigmath"> = </TD>
     <TD>

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

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




More information about the freeside-commits mailing list