summaryrefslogtreecommitdiff
path: root/httemplate/search/report_cdr.html
diff options
context:
space:
mode:
authorlevinse <levinse>2011-06-17 06:30:01 +0000
committerlevinse <levinse>2011-06-17 06:30:01 +0000
commit9e5bf689d08f88ec6b49312c2c515f5a28bfdf11 (patch)
tree45f8c74a57b77c6dcb103ede13a6d8b8520aaac4 /httemplate/search/report_cdr.html
parente54c4e0fa0abebd8134e9c034d06a094091ee606 (diff)
CDR Report: add top sources, top destinations, and longest calls report options, RT12185
Diffstat (limited to 'httemplate/search/report_cdr.html')
-rw-r--r--httemplate/search/report_cdr.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/httemplate/search/report_cdr.html b/httemplate/search/report_cdr.html
index 10ab21841..11049ac93 100644
--- a/httemplate/search/report_cdr.html
+++ b/httemplate/search/report_cdr.html
@@ -1,5 +1,13 @@
<% include('/elements/header.html', 'Call Detail Record Search' ) %>
+<SCRIPT type="text/javascript">
+ function clearfield(which){
+ var f = document.getElementById(which);
+ if ( f == null) return;
+ f.value = '';
+ }
+</SCRIPT>
+
<FORM ACTION="cdr.html" METHOD="GET">
<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
@@ -102,6 +110,21 @@
)
%>
+ <TR>
+ <TD ALIGN="right">Top</TD>
+ <TD><INPUT TYPE="TEXT" id="top_dst" NAME="top_dst" SIZE="7" onfocus="clearfield('top_src');"> destinations</TD>
+ </TR>
+
+ <TR>
+ <TD ALIGN="right">Top</TD>
+ <TD><INPUT TYPE="TEXT" id="top_src" NAME="top_src" SIZE="7" onfocus="clearfield('top_dst');"> sources</TD>
+ </TR>
+
+ <TR>
+ <TD ALIGN="right"></TD>
+ <TD><INPUT TYPE="TEXT" NAME="longest" SIZE="7"> longest calls</TD>
+ </TR>
+
<% include( '/elements/tr-select-cdrbatch.html' ) %>
<TR>