WIP: Improve assignment information display
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user