fix grace period in quick-entry form (#3504)
This commit is contained in:
@@ -86,9 +86,9 @@ final class LockdownService
|
||||
}
|
||||
|
||||
// further validate entries inside of the most recent lockdown
|
||||
if ($timesheetStart > $lockdownStart && $timesheetStart < $lockdownEnd) {
|
||||
if ($timesheetStart >= $lockdownStart && $timesheetStart <= $lockdownEnd) {
|
||||
// if grace period is still in effect, validation succeeds
|
||||
if ($now < $lockdownGrace) {
|
||||
if ($now <= $lockdownGrace) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user