Files
2026-11-30 06:56:14 +02:00

23 lines
533 B
PHP

<?php
declare(strict_types=1);
namespace App\Modules\TimeTracking\Domain\Exceptions;
use App\Modules\Shared\Domain\Exceptions\DomainException;
/**
* A week cannot be approved while any of its entries lacks a billing note
* (docs/ui-timesheet.md 6).
*/
final class BillingNotesMissing extends DomainException
{
/**
* @param list<int> $entryIds
*/
public function __construct(public readonly array $entryIds)
{
parent::__construct(count($entryIds).' time entries have no billing note.');
}
}