software.coffee and all related fixes for inventory view