[freeside-commits] freeside/httemplate/search cdr.html, 1.28, 1.29 report_cdr.html, 1.18, 1.19
Erik Levinson
levinse at wavetail.420.am
Wed Jun 22 17:02:47 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv18913/httemplate/search
Modified Files:
cdr.html report_cdr.html
Log Message:
CDR report: add cdrtypenum search criteria, RT13402
Index: report_cdr.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cdr.html,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -w -d -r1.18 -r1.19
--- report_cdr.html 17 Jun 2011 06:30:01 -0000 1.18
+++ report_cdr.html 23 Jun 2011 00:02:45 -0000 1.19
@@ -46,6 +46,14 @@
% }
% #}
+ <% include('/elements/tr-select-table.html',
+ field => 'cdrtypenum',
+ label => 'CDR Type',
+ table => 'cdr_type',
+ name_col => 'cdrtypename',
+ post_options => [ 'none', 'none' ] )
+ %>
+
<% include ( '/elements/tr-input-beginning_ending.html' ) %>
<TR>
Index: cdr.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cdr.html,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -w -d -r1.28 -r1.29
--- cdr.html 17 Jun 2011 06:30:01 -0000 1.28
+++ cdr.html 23 Jun 2011 00:02:44 -0000 1.29
@@ -95,6 +95,19 @@
}
###
+# cdrtypenum
+###
+
+if ( $cgi->param('cdrtypenum') =~ /^(\d+)$/ ) {
+ $hashref->{'cdrtypenum'} = $1;
+ push @search, "cdrtypenum = $1";
+}
+elsif ( $cgi->param('cdrtypenum') eq 'none' ) {
+ $hashref->{'cdrtypenum'} = '';
+ push @search, "cdrtypenum is null";
+}
+
+###
# termpartNstatus
###
More information about the freeside-commits
mailing list