[freeside-commits] branch master updated. ca99b26ab1b1f23d41ddd36ae33533f37c4ccd99

Mark Wells mark at 420.am
Sun Feb 28 17:49:11 PST 2016


The branch, master has been updated
       via  ca99b26ab1b1f23d41ddd36ae33533f37c4ccd99 (commit)
      from  71bfc1b5f19f25d0e330664d53bf8f641e5088d9 (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 ca99b26ab1b1f23d41ddd36ae33533f37c4ccd99
Author: Mark Wells <mark at freeside.biz>
Date:   Sun Feb 28 17:48:09 2016 -0800

    pass date parameters through to commission reports, #40271, from #23348

diff --git a/httemplate/search/agent_commission.html b/httemplate/search/agent_commission.html
index 386452a..a7edc3b 100644
--- a/httemplate/search/agent_commission.html
+++ b/httemplate/search/agent_commission.html
@@ -1,5 +1,6 @@
 % if ( $agentnum ) {
-<% $cgi->redirect($sales_link->[0] . $agentnum) %>
+%   my $url = 'agent_pkg_class.html?' . $cgi->query_string;
+<% $cgi->redirect($url) %>
 % } else {
 <& elements/commission.html,
   'title'         => $title,
diff --git a/httemplate/search/sales_commission.html b/httemplate/search/sales_commission.html
index 68e030d..3401954 100644
--- a/httemplate/search/sales_commission.html
+++ b/httemplate/search/sales_commission.html
@@ -1,5 +1,6 @@
 % if ( $salesnum ) {
-<% $cgi->redirect($sales_link->[0] . $salesnum) %>
+%   my $url = 'sales_pkg_class.html?' . $cgi->query_string;
+<% $cgi->redirect($url) %>
 % } else {
 <& elements/commission.html,
   'title'         => $title,

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

Summary of changes:
 httemplate/search/agent_commission.html |    3 ++-
 httemplate/search/sales_commission.html |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list