From: Joe Hunt Date: Mon, 6 Oct 2008 12:09:46 +0000 (+0000) Subject: Bug [0000072] Item stock movement should check for if there is empty Inventory. X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=3579cf9d621537f807c99eec088608fc885da974;p=textcart.git Bug [0000072] Item stock movement should check for if there is empty Inventory. --- diff --git a/inventory/inquiry/stock_movements.php b/inventory/inquiry/stock_movements.php index 47b1ad7..e8591e8 100644 --- a/inventory/inquiry/stock_movements.php +++ b/inventory/inquiry/stock_movements.php @@ -19,6 +19,8 @@ if ($use_date_picker) page(_("Inventory Item Movement"), false, false, "", $js); //------------------------------------------------------------------------------------------------ +check_db_has_stock_items(_("There are no items defined in the system.")); + if(get_post('ShowMoves')) { $Ajax->activate('doc_tbl');