Allows to configure activities as being a "deduction time". A deduction time means that the timesheet duration will be negative.
Deduction times can be edited, but the negative duration is not used in the UI and not saved!
It is always the calculated duration of end - start
, which is then converted to its negative value.
When editing any activity, you will see a new checkbox Deduction time
.
If this is checked, every future timesheet using this activity, will have negative durations.
If you are too lazy to create multiple records per day, but instead want to record entire days (attendance) and use those to create invoices/exports, you find yourself with too many hours on the clock.
You could manually subtract breaks from every day OR you use this plugin.
Deduction time
checkboxThis plugin is compatible with the following Kimai releases:
Bundle version | Minimum Kimai version |
---|---|
2.0 - 2.0.1 | 2.0.0 |
1.0 | 1.27.0 |
You find the most notable changes between the versions in the file CHANGELOG.md.
Download and extract the compatible release in var/plugins/
(see plugin docs).
The file structure needs to look like this afterwards:
var/plugins/
├── DeductionTimeBundle
│ ├── DeductionTimeBundle.php
| └ ... more files and directories follow here ...
And then rebuild the cache:
bin/console kimai:reload --env=prod