#85 - fix
This commit is contained in:
parent
47edca8348
commit
5988503624
@ -58,7 +58,7 @@ class SendVacationRequestDaysToGoogleCalendar implements ShouldQueue
|
||||
];
|
||||
|
||||
foreach ($days as $day) {
|
||||
if ($day->diffInDays($ranges[$index]["to"]) !== 1) {
|
||||
if ($day->diffInDays($ranges[$index]["to"]) > 1) {
|
||||
$index++;
|
||||
|
||||
$ranges[$index] = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user