universalized displayInventory.php to work for customers as well