Release 2.6.0 (#4472)
- Added: calendar entry title combination for customer, project and activity - Added: show not_invoiced and not_exported data in detail screens - Added: force logout if user is disabled - Added: reduced amount of database queries on several screens - Fixed: open-close status on work-contract screen for users without configuration - Fixed: failsafe order/orderBy in query if manually manipulated to be null - Fixed: unify statistic calculation (not_invoiced and not_exported) across screens - Tech: bump packages - Tech: Symfony 6.4
This commit is contained in:
@@ -22,7 +22,7 @@ final class Customer extends Constraint
|
||||
|
||||
public string $message = 'This customer has invalid settings.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ final class DateTimeFormat extends Constraint
|
||||
public ?string $separator = null;
|
||||
public ?string $message = 'This datetime format is invalid.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::PROPERTY_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ final class Project extends Constraint
|
||||
|
||||
public string $message = 'This project has invalid settings.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ final class Team extends Constraint
|
||||
|
||||
public string $message = 'The team has invalid settings.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ final class TimeFormat extends Constraint
|
||||
|
||||
public string $message = 'This time format is invalid.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::PROPERTY_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ final class Timesheet extends Constraint
|
||||
{
|
||||
public string $message = 'This timesheet has invalid settings.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ final class TimesheetBasic extends TimesheetConstraint
|
||||
|
||||
public string $message = 'This timesheet has invalid settings.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ final class TimesheetDeactivated extends TimesheetConstraint
|
||||
|
||||
public string $message = 'This timesheet has invalid settings.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ final class TimesheetExported extends TimesheetConstraint
|
||||
*/
|
||||
public null|\DateTime|string $now;
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ final class TimesheetFutureTimes extends TimesheetConstraint
|
||||
|
||||
public string $message = 'The date cannot be in the future.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ final class TimesheetLockdown extends TimesheetConstraint
|
||||
*/
|
||||
public \DateTime|string|null $now;
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ final class TimesheetLongRunning extends TimesheetConstraint
|
||||
public string $message = 'Maximum duration of {{ value }} hours exceeded.';
|
||||
public string $maximumMessage = 'Maximum duration exceeded.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ final class TimesheetMultiUpdate extends Constraint
|
||||
|
||||
public string $message = 'This form has invalid settings.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ final class TimesheetMultiUser extends Constraint
|
||||
|
||||
public string $message = 'This form has invalid settings.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ final class TimesheetOverlapping extends TimesheetConstraint
|
||||
|
||||
public string $message = 'You already have an entry for this time.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ final class TimesheetRestart extends TimesheetConstraint
|
||||
|
||||
public string $message = 'You are not allowed to start this timesheet record.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ final class TimesheetZeroDuration extends TimesheetConstraint
|
||||
|
||||
public string $message = 'Duration cannot be zero.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ final class User extends Constraint
|
||||
|
||||
public string $message = 'The user has invalid settings.';
|
||||
|
||||
public function getTargets(): string|array
|
||||
public function getTargets(): string
|
||||
{
|
||||
return self::CLASS_CONSTRAINT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user