The task calendar's daily maximum moves from the hidden setting jobs.daily_capacity_hours to shared.daily_capacity_hours, edited by the admin on the company details page. An empty field means 7.5 hours. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
14 lines
282 B
PHP
14 lines
282 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Shared\Domain\Exceptions;
|
|
|
|
final class InvalidDailyCapacity extends DomainException
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct('The daily capacity must be more than 0 and at most 24 hours.');
|
|
}
|
|
}
|