Release 2.0.20 (#4028)

* max duration per entry increased from 8 to 10 hours
* fixes #3981 - clickable area in dropdown too small
* fixes #4008 - duplicate activities in project-details report
* headers and summary styling in project-details report
* show billable stats in project-details report
* added new invoice variable for entry.duration_format
This commit is contained in:
Kevin Papst
2023-05-15 22:30:37 +02:00
committed by GitHub
parent 04422f3530
commit 29624354a2
28 changed files with 248 additions and 174 deletions

View File

@@ -95,7 +95,9 @@ final class ProjectDetailsModel
$users[$id] = $userStat;
}
$userStat->setDuration($userStat->getDuration() + $userYear->getDuration());
$userStat->setDurationBillable($userStat->getDurationBillable() + $userYear->getBillableDuration());
$userStat->setRate($userStat->getRate() + $userYear->getRate());
$userStat->setRateBillable($userStat->getRateBillable() + $userYear->getBillableRate());
}
}