Add checklists to tasks on the job page
Tasks get an ordered checklist (spec 8.2, phase 3): items are checked done with who and when recorded, also by subcontractors attached to the job; others add, rename, reorder and remove items. Items go with their task. The spec gets a phase 3 chapter (18.1), and open questions move to chapter 19. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Jobs\Domain\Exceptions;
|
||||
|
||||
use App\Modules\Shared\Domain\Exceptions\DomainException;
|
||||
|
||||
/**
|
||||
* The checklist item does not exist or belongs to another task or job.
|
||||
*/
|
||||
final class ChecklistItemNotFound extends DomainException
|
||||
{
|
||||
public function __construct(public readonly int $taskId, public readonly int $itemId)
|
||||
{
|
||||
parent::__construct("Checklist item {$itemId} of task {$taskId} was not found.");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user