[freeside-commits] branch master updated. 22f13ac4f7eeb26adb0d063d767ea86663ee3864

Ivan ivan at 420.am
Wed Dec 14 10:07:50 PST 2016


The branch, master has been updated
       via  22f13ac4f7eeb26adb0d063d767ea86663ee3864 (commit)
      from  9d5f61a78f7cddeb65f6943f3e58326f47cc0c0b (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 22f13ac4f7eeb26adb0d063d767ea86663ee3864
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Dec 14 10:07:47 2016 -0800

    fix links for previous/next period inbound calls, RT#73652

diff --git a/fs_selfservice/FS-SelfService/cgi/view_cdr_details.html b/fs_selfservice/FS-SelfService/cgi/view_cdr_details.html
index f396682..d2be287 100644
--- a/fs_selfservice/FS-SelfService/cgi/view_cdr_details.html
+++ b/fs_selfservice/FS-SelfService/cgi/view_cdr_details.html
@@ -14,16 +14,18 @@
   <TR>
     <TD WIDTH="50%">
 <%= if ($previous < $beginning) {
-    $OUT .= qq!<A HREF="${url}view_cdr_details;svcnum=$svcnum;beginning=!;
-    $OUT .= qq!$previous;ending=$beginning">Previous period</A>!;
+    $OUT .= qq!<A HREF="${url}view_cdr_details;svcnum=$svcnum;!;
+    $OUT .= qq!inbound=1;! if $inbound;
+    $OUT .= qq!beginning=$previous;ending=$beginning">Previous period</A>!;
     }else{
       '';
     } %>
     </TD>
     <TD  WIDTH="50%" ALIGN="right">
 <%= if ($next > $ending) {
-    $OUT .= qq!<A HREF="${url}view_cdr_details;svcnum=$svcnum;beginning=!;
-    $OUT .= qq!$ending;ending=$next">Next period</A>!;
+    $OUT .= qq!<A HREF="${url}view_cdr_details;svcnum=$svcnum;!;
+    $OUT .= qq!inbound=1;! if $inbound;
+    $OUT .= qq!beginning=$ending;ending=$next">Next period</A>!;
     }else{
       '';
     }%>

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

Summary of changes:
 fs_selfservice/FS-SelfService/cgi/view_cdr_details.html |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)




More information about the freeside-commits mailing list