This is another release with many changes, both internal and external:
- The admin section has been split off into its own Rails engine. It now uses Bootstrap as CSS framework, reducing our own custom-made CSS by many lines of code. In future, we plan to port all of leihs to Bootstrap.
- Some sections have proper page titles now (e.g. "List of Users", "List of Inventory Pools").
- It is possible to filter items by their "last checked" date. This is useful when doing a stocktake.
- The 'purpose' field can now be optional when an order is placed through the lending section by a manager. Whether it should be optional can be set in the inventory pool settings. Default is false.
- Hovering over a user's name in an order will show more details about that user.
- Hovering over a model name in an order will show more details about that model.
- Inventory pools, buildings and suppliers can now be searched using a simple search function.
- When creating a new item, one of three options for the inventory code to assign can be picked:
- Fill up any gaps, use the lowest possible free code.
- Assign the highest possible free code.
- Assign one number higher than the last one used ("last code +1"), so if the last item you saved had ABC123, the next one will have ABC124 if available, or e.g. ABC126 if both 124 and 125 are taken.
- The content of packages is now shown during handover and on contracts.
- Package inventory codes can now be set by hand.
- When adding a new inventory pool and enabling "automatic access for new users", any existing users will also get access to this new pool.
- It is possible to swap one model for another in a contract.
And there were some bugfixes:
- The take back confirmation dialog should now show correctly on Safari.
- Scrolling through the list of inventory pools in the inventory pool switcher should now be possible even if it is longer than what fits on the screen.
- The timeline for models didn't show up, instead a blank popup was shown. This is now fixed.
- Fields can no longer be hidden in the package editor.