weekly quick-entry form (#2793)
This commit is contained in:
@@ -12,12 +12,15 @@ namespace App\Validator\Constraints;
|
||||
final class TimesheetLongRunning extends TimesheetConstraint
|
||||
{
|
||||
public const LONG_RUNNING = 'kimai-timesheet-long-running-01';
|
||||
public const MAXIMUM = 'kimai-timesheet-long-running-02';
|
||||
|
||||
protected static $errorNames = [
|
||||
self::LONG_RUNNING => 'TIMESHEET_LONG_RUNNING',
|
||||
self::MAXIMUM => 'MAXIMUM',
|
||||
];
|
||||
|
||||
public $message = 'Maximum duration of {{ value }} hours exceeded.';
|
||||
public $maximumMessage = 'Maximum duration exceeded.';
|
||||
|
||||
public function getTargets()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user