[freeside-commits] freeside/httemplate/search report_svc_acct.html, 1.4, 1.5 svc_acct.cgi, 1.54, 1.55
Ivan,,,
ivan at wavetail.420.am
Sat Jan 24 13:04:19 PST 2009
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv24340/search
Modified Files:
report_svc_acct.html svc_acct.cgi
Log Message:
add domain selection to advanced account report (side effect on RT#4623)
Index: svc_acct.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/svc_acct.cgi,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- svc_acct.cgi 16 Jul 2008 23:55:31 -0000 1.54
+++ svc_acct.cgi 24 Jan 2009 21:04:17 -0000 1.55
@@ -83,6 +83,9 @@
push @extra_sql, 'domsvc = '. $svc_domain->svcnum;
}
}
+if ( $cgi->param('domsvc') =~ /^(\d+)$/ ) {
+ push @extra_sql, "domsvc = $1";
+}
my $timepermonth = '';
Index: report_svc_acct.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_svc_acct.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- report_svc_acct.html 10 Dec 2008 21:43:43 -0000 1.4
+++ report_svc_acct.html 24 Jan 2009 21:04:17 -0000 1.5
@@ -8,12 +8,21 @@
<TR>
<TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
</TR>
+
<% include( '/elements/tr-select-agent.html',
- 'curr_value' => scalar($cgi->param('agentnum')),
+ 'curr_value' => scalar( $cgi->param('agentnum') ),
'disable_empty' => 0,
- )
+ )
%>
+ <% include( '/elements/tr-select-domain.html',
+ 'element_name' => 'domsvc',
+ 'curr_value' => scalar( $cgi->param('domsvc') ),
+ 'disable_empty' => 0,
+ )
+ %>
+
+
<SCRIPT type="text/javascript">
function toggle(what) {
label = document.getElementById (what + '_label');
More information about the freeside-commits
mailing list