From 3579cf9d621537f807c99eec088608fc885da974 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Mon, 6 Oct 2008 12:09:46 +0000 Subject: [PATCH] Bug [0000072] Item stock movement should check for if there is empty Inventory. --- inventory/inquiry/stock_movements.php | 2 ++ 1 file changed, 2 insertions(+) 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'); -- 2.30.2