diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-12-14 10:07:53 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-12-14 10:07:53 -0800 |
commit | 9aaec3cc37e2ac6ae7cbd9b99d5add3c45cf9f45 (patch) | |
tree | 2e5253907287b3cf4bf6d8a01522ebdb3abd2f2e /fs_selfservice | |
parent | faf15af4846cb0e5b5e6e75b6f17cc3b60e43b19 (diff) |
fix links for previous/next period inbound calls, RT#73652
Diffstat (limited to 'fs_selfservice')
-rw-r--r-- | fs_selfservice/FS-SelfService/cgi/view_cdr_details.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/view_cdr_details.html b/fs_selfservice/FS-SelfService/cgi/view_cdr_details.html index f39668247..d2be287ff 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{ ''; }%> |