Obserwator budżetu
Otrzymuj powiadomienia, gdy określona kwota z budżetu projektu zostanie wykorzystana.
Helsinki Systems GmbH
Description
BudgetWatcher plugin for Kimai is a plugin that allows you to keep track of your projects’ budgets. It sends notifications to a user group when a certain amount of the project budget is used up. Both the user group and the budget amounts at which you want to be notified are fully customizable. You can set default amounts that apply to all projects, or individual amounts for individual projects. You can also set as many amounts as you want. For example, you can set the default amounts to 50%, 75%, and 95%, and for another project to 80% and 95%. Whenever the budget is exhausted up to this percentage, the specified user group receives an email that this amount of the budget has been used up, and you can adjust the budget accordingly if necessary.
Video
English:
German:
Support
If you need help setting this plugin up or have any feature requests our commercial support is available at kunden@helsinki-systems.de
Kompatybilność
Poniższa tabela zawiera porównanie między pluginem a minimalną wymaganą wersją Kimai.
Wersja pakietu | Minimalna wersja Kimai |
---|---|
1.0 | 2.0 |
Instalacja
Skopiuj pliki
Extract the ZIP file and upload the included directory and all files to your Kimai installation to the new directory:
The file structure needs to look like this afterwards:
Wyczyść pamięć podręczną
After uploading the files, Kimai needs to know about the new plugin. It will be found once the cache was re-built. Call these commands from the Kimai directory:
How to reload Kimai cache
bin/console kimai:reload --env=prod
It is not advised, but in case the above command fails you could try:
rm -r var/cache/prod/*
You might have to set file permissions afterwards:
Adjust file permission
You have to allow PHP (your webserver process) to write to var/
and it subdirectories.
Here is an example for Debian/Ubuntu, to be executed inside the Kimai directory:
chown -R :www-data .
chmod -R g+r .
chmod -R g+rw var/
You might not need these commands in a shared-hosting environment.
And you probably need to prefix them with sudo
and/or the group might be called different from www-data
.
Utwórz bazę danych
Run the following command:
This will create the required database tables and update them to the latest version.
If you see an error like There are no commands defined in the "kimai:bundle:XYZ" namespace.
,
then either the directory has a wrong name (must be var/plugins/BudgetWatcherBundle/) or you forgot to clear the cache (look above).
Aktualizacje
Updating the plugin works exactly like the installation:
- Delete the directory
var/plugins/BudgetWatcherBundle/
-
Execute all installation steps again:
- Skopiuj pliki
- Wyczyść pamięć podręczną
- Update database with
bin/console kimai:bundle:budgetwatcher:install