From 4783789db90ba00a0e57077464c689bd082ffb0f Mon Sep 17 00:00:00 2001 From: jeff Date: Mon, 25 Aug 2008 05:53:14 +0000 Subject: correct fallout from duplicate line items --- httemplate/search/cust_bill_pkg.cgi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'httemplate/search/cust_bill_pkg.cgi') diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi index 74efe4f7e..2354be953 100644 --- a/httemplate/search/cust_bill_pkg.cgi +++ b/httemplate/search/cust_bill_pkg.cgi @@ -70,6 +70,8 @@ my $agentnums_sql = my @where = ( $agentnums_sql ); +push @where, "(duplicate IS NULL OR duplicate = '' )"; + my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi); push @where, "_date >= $beginning", "_date <= $ending"; -- cgit v1.2.1