Moved code for the inventory tab from App_Index.php to inventory.php