Reverted latest changes in inventory adjustment to ensure database consistency.
[fa-stable.git] / reporting / rep308.php
index a738e3d1c8fee9044cade109ba4b74fe61dca907..0981c2ad64276153b9e67943192ad18a9e34547a 100644 (file)
@@ -32,7 +32,7 @@ inventory_movements();
 
 function get_domestic_price($myrow, $stock_id)
 {
-    if ($myrow['type'] == ST_SUPPRECEIVE || $myrow['type'] == ST_SUPPCREDIT || $myrow['type'] == ST_INVADJUST)
+    if ($myrow['type'] == ST_SUPPRECEIVE || $myrow['type'] == ST_SUPPCREDIT)
      {
         $price = $myrow['price'];
         if ($myrow['person_id'] > 0)