Kanban / timesheet update

This commit is contained in:
2026-11-30 06:56:14 +02:00
parent 6332ff0fa9
commit a4dbe8ce09
46 changed files with 8091 additions and 331 deletions
@@ -8,8 +8,9 @@ use App\Modules\Jobs\Domain\Enums\JobStatus;
use App\Modules\Jobs\Domain\Enums\TaskStatus;
/**
* A task as time is recorded on it: which job and work type it belongs to,
* and whether the job is locked for time entries.
* A task as time is recorded on it: which job, customer and work type it
* belongs to, the job's payment basis (a PaymentBasis value) and whether
* the job is locked for time entries.
*/
final readonly class BookableTask
{
@@ -23,6 +24,10 @@ final readonly class BookableTask
public string $workTypeName,
public JobStatus $jobStatus,
public TaskStatus $taskStatus,
public int $customerId = 0,
public string $customerName = '',
public ?string $customerHeaderColor = null,
public ?string $paymentBasis = null,
) {}
public function isLocked(): bool