correct erroneous line dupplication on invoices
authorjeff <jeff>
Fri, 17 Oct 2008 18:57:49 +0000 (18:57 +0000)
committerjeff <jeff>
Fri, 17 Oct 2008 18:57:49 +0000 (18:57 +0000)
FS/FS/cust_bill.pm

index 45a73cc..c292cfb 100644 (file)
@@ -2833,7 +2833,7 @@ sub _items_cust_bill_pkg {
             unit_amount     => sprintf("%.2f", $cust_bill_pkg->unitrecur),
             quantity        => $cust_bill_pkg->quantity,
             ext_description => \@d,
-          };
+          } unless ( $type eq 'U' && ! $amount );
 
         }