工時單審核流程

此套件提供對工時單進行週份審核的功能。

Katja Glass Consulting
提供者
Katja Glass Consulting

A plugin for Kimai to approve timesheets of users on a weekly basis.

Features

  • Users can send a week for approval (in sequential order)
  • User lockdown -> a submitted/approved week can no longer be edited (apart from admins) - there is one lockdown date per user (LockdownPerUserBundle)
  • Teamlead/Admin can approve or deny the week
  • Overview of approvals, missing approvals and the status
  • Mailing options to recall approval tasks if outstanding
  • Various options to track overtime
  • Option to check for breaks according German Law

Requirements

安裝

複製檔案

Extract the ZIP file and upload the included directory and all files to your Kimai installation to the new directory:

var/plugins/ApprovalBundle/

Or you can clone it directly to the var/plugins/ directory of your Kimai installation:

cd kimai/var/plugins/
git clone https://github.com/KatjaGlassConsulting/ApprovalBundle ApprovalBundle

The file structure needs to look like this afterwards:

var/plugins/
├── ApprovalBundle
│   ├── ApprovalBundle.php
|   └ ... more files and directories follow here ...

清除快取

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/

建立資料庫

Run the following command:

bin/console kimai:bundle:approval:install

This will create the required database tables and update them to the latest version.

更新

Updating the plugin works exactly like the installation:

  • Delete the directory var/plugins/ApprovalBundle/
  • Execute all installation steps again:
    • 複製檔案
    • 清除快取
    • Update database with bin/console kimai:bundle:approval:install

相容性

下表比較了外掛程式與所需的最低 Kimai 版本。

套件版本 最低 Kimai 版本
1.0.0 1.30.5
2.0.0 2.5.0
2.0.1 2.8.0

使用截圖

Screenshot
顯示週份細節,例如工作時數與預定時數,以及送出以供審核等操作
Screenshot
團隊個別成員與其核可狀態的總覽畫面,依已核可與已完結待核可的週次列出
Screenshot
核可歷史,包含組長與使用者有足夠權限閱讀的所有備註
Screenshot
組長可核可或否定週份審核
Screenshot
管理員除了具有組長的權限外,還可在總覽頁面中瀏覽所有的共事者名單並能夠撤除核可
提供者

Katja Glass Consulting

Open Source focused consultant in Pharma area

如果您有任何問題,請透過以下聯絡資訊直接與此開發者聯繫。
Top