Changed all references of "label" to "tag" and changed the database to match.
Some script updates, some small feature changes and labels are now tags:
- Renamed the stock_label and label table to stock_tag and tag. Moving away from the term 'label' as it is not a fit name.
- renamed the stock_tag table column 'label_id' to 'tag_id' to match the theme.
- Changed all references of label to tag in the codebase.
- Added tags.php page to show all tags and their connections. This is not reachable without url currently.
- Stock Locations in admin page now allows you to see deleted locations and restore them, similar to attributes.
- Adding properties is now an ajax request (e.g. adding tags, manufacturers, shelves areas and sites in the add new stock section). This means the page doesnt refresh.
- Added description to the tag table for editing on the tags page.
- Stock edit script now separately checks for each change.
- Stock edit script now only removes the tags that are no longer linked.
- Stock edit script now only sends emails if there have been changes.
- Password reset modal div now works on mobile format.