[freeside-commits] branch FREESIDE_4_BRANCH updated. 6ae8ddf64da20f220a9136d1282deb1b6c3d4af6

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


The branch, FREESIDE_4_BRANCH has been updated
       via  6ae8ddf64da20f220a9136d1282deb1b6c3d4af6 (commit)
      from  f01be186e05ebb2c90dddea29bf8607a444dc1c5 (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 6ae8ddf64da20f220a9136d1282deb1b6c3d4af6
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