WIP: Improve assignment information display

This commit is contained in:
Björn Fromme committed 2023-10-19 15:20:44 +02:00
1 parent 21968b833c
commit 585f86e45f
15 files changed
+84 -55

No files matched your search

+1 -1
View File
@@ -172,7 +172,7 @@ class Assignment implements BlameableEntityInterface, TimestampableEntityInterfa
return $this;
}
public function getTotalPeriod(): ?CarbonPeriod
public function getEffectivePeriod(): ?CarbonPeriod
{
if (null !== $destination = $this->getDestination()) {
$dateFrom = $this->getDateFrom() ?? $destination->getDateFrom();