Releases: mauricecalhoun/inventory
Releases · mauricecalhoun/inventory
Updated schema check command to include proper tables
- Updated schema check command with the proper reserved database tables
Added Inventory Suppliers
- Added inventory suppliers
- Added global exception catching when processing stock changes
- Reformatted and added more tests
Updated version, optimized methods, added more documention
- Updated
InventoryServiceProvider::version
to correct1.2.1
- Optimized methods in most traits
- Added more documentation throughout
Combined SKU's prefix and code column into one
- Merged
inventory_skus
prefix
andcode
column into one column namedcode
- Added
sku_separator
configuration option - Removed default
20
limit on thecode
column on theinventory_skus
table. It is now Laravel's default (255)
Regenerating an SKU will restore the previous if generation fails
- Make sure regenerating an SKU doesn't destroy the old record if recreating a new SKU fails
- Updated test to match
Update to SKU generation
- The generate SKU method will now return false if the category name for the item is blank
- Added test
- Updated configuration documentation and increased default sku code length to 6
New features and bug fix
- Added
Inventory
model methodfindBySku($sku = '')
- Added test
testInventoryFindBySku()
- Fixed
generateSku()
returning actual SKU string instead of the SKU model record
Added event to SKU generation
- Added new 'inventory.sku.generated' event when an SKU record is created
Update to the SchemaCheckCommand
- Included
inventory_skus
in the schema check command
Automatic SKU Generation
- Unique inventory item SKU's can now be automatically generated and regenerated