Report stock usage and value, add material cost to profitability, document phase 5

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-26 17:24:07 +02:00
co-authored by Claude Sonnet 5.5
parent 38b8075a9c
commit 3207d0064a
34 changed files with 1145 additions and 24 deletions
@@ -7,6 +7,7 @@ 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\StockReportQueries;
use App\Modules\Inventory\Application\Contracts\StockTasks;
use App\Modules\Inventory\Application\UseCases\TaskMaterials;
use App\Modules\Inventory\Domain\Contracts\InventoryCountRepository;
@@ -23,6 +24,7 @@ use App\Modules\Inventory\Infrastructure\Persistence\Repositories\EloquentStockI
use App\Modules\Inventory\Infrastructure\Persistence\Repositories\EloquentStockItemRepository;
use App\Modules\Inventory\Infrastructure\Persistence\Repositories\EloquentStockMovementRepository;
use App\Modules\Inventory\Infrastructure\Persistence\Repositories\EloquentStockQueries;
use App\Modules\Inventory\Infrastructure\Persistence\Repositories\EloquentStockReportQueries;
use App\Modules\Inventory\Infrastructure\Persistence\Repositories\EloquentTaskMaterialSuggestionRepository;
use App\Modules\Jobs\Application\Contracts\TaskUsage;
use App\Modules\Jobs\Domain\Events\TaskMaterialsSuggested;
@@ -52,6 +54,7 @@ class InventoryServiceProvider extends ServiceProvider
StockTasks::class => TasksForStock::class,
InventoryCountRepository::class => EloquentInventoryCountRepository::class,
InventoryCountQueries::class => EloquentInventoryCountQueries::class,
StockReportQueries::class => EloquentStockReportQueries::class,
];
public function register(): void