[freeside-commits] freeside/httemplate/search cust_pkg.cgi, 1.39,
1.40 report_cust_pkg.html, 1.2, 1.3
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Oct 24 21:44:50 PDT 2006
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv23641/httemplate/search
Modified Files:
cust_pkg.cgi report_cust_pkg.html
Log Message:
select multiple pkgparts on advanced package report
Index: report_cust_pkg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cust_pkg.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- report_cust_pkg.html 23 Aug 2006 22:25:38 -0000 1.2
+++ report_cust_pkg.html 25 Oct 2006 04:44:48 -0000 1.3
@@ -18,7 +18,7 @@
'empty_label' => '(empty class)',
)
%>
-% #include( '/elements/tr-selectmultiple-part_pkg.html' )
+ <% include( '/elements/tr-selectmultiple-part_pkg.html' ) %>
<TR>
<TD ALIGN="right" VALIGN="center">Next bill date</TD>
Index: cust_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_pkg.cgi,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- cust_pkg.cgi 23 Aug 2006 22:25:38 -0000 1.39
+++ cust_pkg.cgi 25 Oct 2006 04:44:48 -0000 1.40
@@ -80,6 +80,14 @@
%#eslaf
%
%###
+%# parse part_pkg
+%###
+%
+%my $pkgpart = join (' OR pkgpart=',
+% grep {$_} map { /^(\d+)$/; } ($cgi->param('pkgpart')));
+%push @where, '(pkgpart=' . $pkgpart . ')' if $pkgpart;
+%
+%###
%# parse magic, legacy, etc.
%###
%
More information about the freeside-commits
mailing list