Fixed typo in Suppliers Report.
[fa-stable.git] / reporting / rep302.php
index 68ad88532dc6439bac3720fbe80e908b771696cd..55c766c02440db9448d6e0a3556573e5dd6d85ed 100644 (file)
@@ -75,8 +75,7 @@ function getPeriods($stockid, $location)
                        FROM ".TB_PREF."stock_moves
                        WHERE stock_id='$stockid'
                        AND loc_code ='$location'
-                       AND (type=13 OR type=11)
-                       AND visible=1";
+                       AND (type=13 OR type=11)";
 
     $TransResult = db_query($sql,"No transactions were returned");
        return db_fetch($TransResult);
@@ -192,4 +191,3 @@ function print_inventory_planning()
     $rep->End();
 }
 
-?>
\ No newline at end of file