Merge branch 'master' of https://github.com/brkcvn/akaunting into two-column-header

This commit is contained in:
Burak Civan 2022-11-14 09:39:07 +03:00
commit cabcdcb7df
3 changed files with 17 additions and 5 deletions

View File

@ -188,7 +188,11 @@ trait Recurring
return false; return false;
} }
return $schedule->current()->getStart(); if (! $current = $schedule->current()) {
return false;
}
return $current->getStart();
} }
public function getNextRecurring() public function getNextRecurring()
@ -210,7 +214,11 @@ trait Recurring
return false; return false;
} }
return $schedule->first()->getStart(); if (! $first = $schedule->first()) {
return false;
}
return $first->getStart();
} }
public function getLastRecurring() public function getLastRecurring()
@ -219,6 +227,10 @@ trait Recurring
return false; return false;
} }
return $schedule->last()->getStart(); if (! $last = $schedule->last()) {
return false;
}
return $last->getStart();
} }
} }

2
public/css/app.css vendored
View File

@ -1399,7 +1399,7 @@ input[type=file]::file-selector-button:hover{
background-color: #DCE2F9; background-color: #DCE2F9;
} }
.menu-list svg { .menu-list ul svg {
width: 22px; width: 22px;
height: 24px; height: 24px;
fill: none; fill: none;

View File

@ -98,7 +98,7 @@
background-color: #DCE2F9; background-color: #DCE2F9;
} }
.menu-list svg { .menu-list ul svg {
width: 22px; width: 22px;
height: 24px; height: 24px;
fill: none; fill: none;