Skip to content

Releases: mauricecalhoun/inventory

Added reason and cost arguments to transaction methods

01 Apr 19:56
Compare
Choose a tag to compare
  • Transaction methods that modify the stock in some way now offer an optional $reason and $cost parameter to correctly update the stock record when a stock event takes place.
  • Added more documentation and tests to match

Refactored InventoryTransactionTrait

31 Mar 00:40
Compare
Choose a tag to compare
  • Refactored InventoryTransactionTrait, minimizing its previous large size

Fixed static boot methods

29 Mar 19:28
Compare
Choose a tag to compare
  • Boot methods in traits have been renamed to boot(Trait Name) to use eloquent's trait auto-booting
  • Added more localization fields in preparation for transactions update
  • Small test update

Merged pulls

25 Mar 18:05
Compare
Choose a tag to compare

Added new SKU functions

24 Mar 16:00
Compare
Choose a tag to compare
  • Added 2 (two) new SKU functions on inventory items (createSku($code, $overwrite = false) & updateSku($code, $sku = NULL)
  • Calling newStockOnLocation($location) now throws an exception if a stock already exists on the specified location
  • Updated documentation and tests to match

Added new inventory method, updated docs

23 Mar 19:17
Compare
Choose a tag to compare
  • Added Inventory method $item->newStockOnLocation($location)
  • Updated documentation in code and readme's

Inventory Transactions

18 Mar 17:54
Compare
Choose a tag to compare
  • Added Inventory Transactions
  • Revamped documentation

Added missing use Lang statement in supplier trait

16 Mar 17:03
Compare
Choose a tag to compare

Added missing use Illuminate\Support\Facades\Lang; statement in supplier trait

Small code formatting changes

12 Mar 16:43
Compare
Choose a tag to compare
  • Inventory::findBySku() now does not open a new query builder instance to check for the existence of the item
  • Code formatting tweaks

Fixed caching issue, updated tests

11 Mar 14:06
Compare
Choose a tag to compare
  • Fixed caching issue
  • Regenerating an sku (via $item->regenerateSku() now generates an SKU if one doesn't exist
  • Updated tests