Bug [0000072] Item stock movement should check for if there is empty Inventory.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 6 Oct 2008 12:09:46 +0000 (12:09 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 6 Oct 2008 12:09:46 +0000 (12:09 +0000)
inventory/inquiry/stock_movements.php

index 47b1ad7cc471d6899385395f1ffbfc3d4d7c6215..e8591e8f57503ce57463b663a6b2cb3d966f0d27 100644 (file)
@@ -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');