Release 1.20.1 (#3317)

- improved timesheet calculator with changesets and priority
- calculate and include exported stats (e.g. available in export templates)
- added hourly rate column to timesheet listing
This commit is contained in:
Kevin Papst
2022-05-21 13:13:56 +02:00
committed by GitHub
parent 3e6100f368
commit d5f8655827
15 changed files with 277 additions and 43 deletions

View File

@@ -654,6 +654,14 @@ class Timesheet implements EntityWithMetaFields, ExportItemInterface
return $this;
}
public function resetRates(): void
{
$this->rate = 0.00;
$this->internalRate = null;
$this->hourlyRate = null;
$this->fixedRate = null;
}
public function isBillable(): bool
{
return $this->billable;