X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep302.php;h=55c766c02440db9448d6e0a3556573e5dd6d85ed;hb=fec081ddbcf4f2ceb4b325f30cfc1005e855b724;hp=5c9584b5e8b7ea9efa2d047856f3169627ab7146;hpb=0489317205141deaecefe3a7243d11a3e38a51d0;p=fa-stable.git diff --git a/reporting/rep302.php b/reporting/rep302.php index 5c9584b5..55c766c0 100644 --- a/reporting/rep302.php +++ b/reporting/rep302.php @@ -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); @@ -133,7 +132,7 @@ function print_inventory_planning() $rep = new FrontReport(_('Inventory Planning Report'), "InventoryPlanning", user_pagesize(), 9, $orientation); if ($orientation == 'L') - $rep->recalculate_cols($cols); + recalculate_cols($cols); $rep->Font(); $rep->Info($params, $cols, $headers, $aligns); @@ -192,4 +191,3 @@ function print_inventory_planning() $rep->End(); } -?> \ No newline at end of file