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

@@ -22,6 +22,18 @@ interface CalculatorInterface
* The methods return value will not be evaluated.
*
* @param Timesheet $record
* @ param array<string, array<mixed, mixed>> $changeset
* @return void
*/
public function calculate(Timesheet $record);
public function calculate(Timesheet $record/*, array $changeset*/);
/*
* FIXME use with Kimai 2.0
*
* Default priority is 1000 (after all system Calculator were executed).
* The higher the priority the later it will be executed.
*
* @return int
*/
//public function getPriority(): int;
}