diff options
author | Mark Wells <mark@freeside.biz> | 2014-10-02 13:37:21 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-10-02 13:37:21 -0700 |
commit | 7881e580b28afaa178e6834a1b8a43730b26d027 (patch) | |
tree | dda35be68d62156631c4860b55f9668cb2ba5cdb /httemplate/search/477.html | |
parent | 1c83ab38ba954c60a5cb81a37c3b66d9a5213f16 (diff) |
package quantity + 477 report, #31282, from #24047
Diffstat (limited to 'httemplate/search/477.html')
-rw-r--r-- | httemplate/search/477.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/httemplate/search/477.html b/httemplate/search/477.html index cc865e0d4..244bfa1df 100644 --- a/httemplate/search/477.html +++ b/httemplate/search/477.html @@ -91,10 +91,13 @@ if ($cgi->param('agentnum') =~ /^(\d+)$/ ) { } my $date = parse_datetime($cgi->param('date')) || time; my @partnames = grep /^\w+$/, $cgi->param('parts'); +my $ignore_quantity = ($cgi->param('ignore_quantity') ? 1 : 0); + foreach my $partname (@partnames) { $parts{$partname} ||= FS::Report::FCC_477->report( $partname, - date => $date, - agentnum => $agentnum, + date => $date, + agentnum => $agentnum, + ignore_quantity => $ignore_quantity, ); my $detail_table = FS::Report::FCC_477->part_table($partname); if ($detail_table eq 'cust_pkg') { |