Add stock items, groups and movements at a moving average cost
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Inventory\Domain\Enums;
|
||||
|
||||
/**
|
||||
* What a stock movement is (spec 19.2): a purchase adds stock, use and a
|
||||
* write-off take it, a stock count adjusts it either way, and a reversal
|
||||
* cancels an earlier movement with the opposite quantity.
|
||||
*/
|
||||
enum StockMovementKind: string
|
||||
{
|
||||
case Purchase = 'purchase';
|
||||
case Consumption = 'consumption';
|
||||
case WriteOff = 'write_off';
|
||||
case Adjustment = 'adjustment';
|
||||
case Reversal = 'reversal';
|
||||
}
|
||||
Reference in New Issue
Block a user