Only one running timesheet: automatically stop others (#386)
This commit is contained in:
@@ -14,7 +14,7 @@ services:
|
||||
# The best practice is to be explicit about your dependencies anyway.
|
||||
bind:
|
||||
$projectDirectory: "%kernel.project_dir%"
|
||||
$durationOnly: "%kimai.timesheet.duration_only%"
|
||||
$hardLimit: "%kimai.timesheet.active_entries.hard_limit%"
|
||||
|
||||
# makes classes in src/ available to be used as services
|
||||
# this creates a service per class whose id is the fully-qualified class name
|
||||
@@ -93,6 +93,10 @@ services:
|
||||
tags:
|
||||
- { name: form.type_extension, extended_type: Symfony\Bridge\Doctrine\Form\Type\EntityType }
|
||||
|
||||
App\Form\TimesheetEditForm:
|
||||
arguments:
|
||||
$durationOnly: "%kimai.timesheet.duration_only%"
|
||||
|
||||
# ================================================================================
|
||||
# THEME
|
||||
# ================================================================================
|
||||
|
||||
Reference in New Issue
Block a user