diff options
Diffstat (limited to 'httemplate/search')
| -rwxr-xr-x | httemplate/search/cust_pkg.cgi | 8 | ||||
| -rwxr-xr-x | httemplate/search/report_cust_pkg.html | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi index 8dbc600e9..7a651c4bf 100755 --- a/httemplate/search/cust_pkg.cgi +++ b/httemplate/search/cust_pkg.cgi @@ -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. %### % diff --git a/httemplate/search/report_cust_pkg.html b/httemplate/search/report_cust_pkg.html index 8fabf107a..2193cac8b 100755 --- a/httemplate/search/report_cust_pkg.html +++ b/httemplate/search/report_cust_pkg.html @@ -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> |
