correct fallout from duplicate line items
[freeside.git] / FS / FS / Report / Table / Monthly.pm
index d75f0be..0b8fca9 100644 (file)
@@ -329,6 +329,7 @@ sub cust_bill_pkg {
         LEFT JOIN cust_pkg USING ( pkgnum )
         LEFT JOIN part_pkg USING ( pkgpart )
       WHERE pkgnum != 0
+        AND ( duplicate IS NULL OR duplicate = '' )
         AND $where
         AND ". $self->in_time_period_and_agent($speriod, $eperiod, $agentnum)
   );