RT#39638: VoIP Usage cost reporting [bug fixes/cleanup]
[freeside.git] / httemplate / search / report_customer_cdr_profit.html
diff --git a/httemplate/search/report_customer_cdr_profit.html b/httemplate/search/report_customer_cdr_profit.html
new file mode 100755 (executable)
index 0000000..2a5efc3
--- /dev/null
@@ -0,0 +1,30 @@
+<% include('/elements/header.html', 'Customer CDRs Profit/Loss Report' ) %>
+
+<FORM ACTION="customer_cdr_profit.html" METHOD="GET">
+
+  <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
+
+    <% include( '/elements/tr-select-agent.html',
+                 'curr_value'    => scalar( $cgi->param('agentnum') ),
+                 'label'         => 'Agent ',
+                 'disable_empty' => 0,
+             )
+    %>
+
+    <% include('/elements/tr-select-from_to.html' ) %>
+    
+  </TABLE>
+
+<BR>
+<INPUT TYPE="submit" VALUE="Get Report">
+
+</FORM>
+
+<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+  unless $FS::CurrentUser::CurrentUser->access_right('Financial reports')
+      && $FS::CurrentUser::CurrentUser->access_right('List rating data');
+
+</%init>