[freeside-commits] freeside/httemplate/search cdr.html, 1.24.2.3, 1.24.2.4 report_cdr.html, 1.15.2.1, 1.15.2.2
Erik Levinson
levinse at wavetail.420.am
Wed Jun 22 17:02:48 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv18926/httemplate/search
Modified Files:
Tag: FREESIDE_2_1_BRANCH
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.15.2.1
retrieving revision 1.15.2.2
diff -u -w -d -r1.15.2.1 -r1.15.2.2
--- report_cdr.html 17 Jun 2011 06:30:02 -0000 1.15.2.1
+++ report_cdr.html 23 Jun 2011 00:02:46 -0000 1.15.2.2
@@ -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.24.2.3
retrieving revision 1.24.2.4
diff -u -w -d -r1.24.2.3 -r1.24.2.4
--- cdr.html 17 Jun 2011 06:30:02 -0000 1.24.2.3
+++ cdr.html 23 Jun 2011 00:02:45 -0000 1.24.2.4
@@ -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