Count stock and correct the differences on confirmation
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -4,10 +4,12 @@ namespace App\Modules\Inventory\Infrastructure\Providers;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Modules\Catalog\Application\Contracts\CatalogQueries;
|
||||
use App\Modules\Inventory\Application\Contracts\InventoryCountQueries;
|
||||
use App\Modules\Inventory\Application\Contracts\StockItemImages;
|
||||
use App\Modules\Inventory\Application\Contracts\StockQueries;
|
||||
use App\Modules\Inventory\Application\Contracts\StockTasks;
|
||||
use App\Modules\Inventory\Application\UseCases\TaskMaterials;
|
||||
use App\Modules\Inventory\Domain\Contracts\InventoryCountRepository;
|
||||
use App\Modules\Inventory\Domain\Contracts\StockItemGroupRepository;
|
||||
use App\Modules\Inventory\Domain\Contracts\StockItemRepository;
|
||||
use App\Modules\Inventory\Domain\Contracts\StockMovementRepository;
|
||||
@@ -15,6 +17,8 @@ use App\Modules\Inventory\Domain\Contracts\TaskMaterialSuggestionRepository;
|
||||
use App\Modules\Inventory\Infrastructure\Adapters\TasksForStock;
|
||||
use App\Modules\Inventory\Infrastructure\Adapters\TaskUsageWithStock;
|
||||
use App\Modules\Inventory\Infrastructure\Files\StockItemImageFiles;
|
||||
use App\Modules\Inventory\Infrastructure\Persistence\Repositories\EloquentInventoryCountQueries;
|
||||
use App\Modules\Inventory\Infrastructure\Persistence\Repositories\EloquentInventoryCountRepository;
|
||||
use App\Modules\Inventory\Infrastructure\Persistence\Repositories\EloquentStockItemGroupRepository;
|
||||
use App\Modules\Inventory\Infrastructure\Persistence\Repositories\EloquentStockItemRepository;
|
||||
use App\Modules\Inventory\Infrastructure\Persistence\Repositories\EloquentStockMovementRepository;
|
||||
@@ -46,6 +50,8 @@ class InventoryServiceProvider extends ServiceProvider
|
||||
StockItemImages::class => StockItemImageFiles::class,
|
||||
TaskMaterialSuggestionRepository::class => EloquentTaskMaterialSuggestionRepository::class,
|
||||
StockTasks::class => TasksForStock::class,
|
||||
InventoryCountRepository::class => EloquentInventoryCountRepository::class,
|
||||
InventoryCountQueries::class => EloquentInventoryCountQueries::class,
|
||||
];
|
||||
|
||||
public function register(): void
|
||||
|
||||
Reference in New Issue
Block a user