[freeside-commits] freeside/httemplate/search report_cdr.html, 1.7, 1.8 cdr.html, 1.10, 1.11
Ivan,,,
ivan at wavetail.420.am
Thu Aug 28 18:09:11 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv30317/httemplate/search
Modified Files:
report_cdr.html cdr.html
Log Message:
add CDR batch TFTP feature, RT#3113
Index: report_cdr.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cdr.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- report_cdr.html 26 Mar 2008 02:27:06 -0000 1.7
+++ report_cdr.html 29 Aug 2008 01:09:09 -0000 1.8
@@ -42,6 +42,8 @@
)
%>
+ <% include( '/elements/tr-select-cdrbatch.html' ) %>
+
</TABLE>
<BR>
Index: cdr.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cdr.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- cdr.html 5 Jun 2008 19:24:32 -0000 1.10
+++ cdr.html 29 Aug 2008 01:09:09 -0000 1.11
@@ -89,6 +89,20 @@
OR charged_party = '1$charged_party' ) ";
}
+###
+# cdrbatch
+###
+
+if ( $cgi->param('cdrbatch') ne '__ALL__' ) {
+ if ( $cgi->param('cdrbatch') eq '' ) {
+ my $search = "( cdrbatch IS NULL OR cdrbatch = '' )";
+ push @qsearch, $search;
+ push @search, $search;
+ } else {
+ $hashref->{cdrbatch} = $cgi->param('cdrbatch');
+ push @search, 'cdrbatch = '. dbh->quote($cgi->param('cdrbatch'));
+ }
+}
###
# finish it up
More information about the freeside-commits
mailing list