Record used material on tasks and suggest workflow steps' default materials
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Inventory\Application\Contracts;
|
||||
|
||||
use App\Modules\Inventory\Application\DTOs\StockTaskContext;
|
||||
|
||||
/**
|
||||
* Inventory's view of job tasks, read from the Jobs and Catalog modules.
|
||||
*/
|
||||
interface StockTasks
|
||||
{
|
||||
public function context(int $taskId): ?StockTaskContext;
|
||||
|
||||
/**
|
||||
* Labels such as "2026-0005 Messuvideo – Tulostus" by task id.
|
||||
*
|
||||
* @param list<int> $taskIds
|
||||
* @return array<int, string>
|
||||
*/
|
||||
public function labels(array $taskIds): array;
|
||||
}
|
||||
Reference in New Issue
Block a user