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
@@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
namespace App\Modules\TimeTracking\Application\DTOs;
use App\Modules\TimeTracking\Domain\Enums\EntryBillingModel;
/**
* The user's entry on one task and day of the time sheet.
*/
final readonly class TimesheetCell
{
public function __construct(
public int $quarters,
public ?string $billingNote,
public ?string $internalComment,
public ?EntryBillingModel $billingModel,
public bool $approved,
) {}
public function hasBillingNote(): bool
{
return $this->billingNote !== null && trim($this->billingNote) !== '';
}
}