Compatible with Kimai 2.0

客户电子邮件报告

向客户发送有关工作时间的电子邮件报告

Simon Schaufelberger
提供者
Simon Schaufelberger

Email report on working hours

A Kimai plugin to send an email report to a client with the previous day’s working hours and descriptions.

Are you a freelancer? Use this plugin to send your clients a daily status report on the hours worked.

Surprise your client with transparency and trust instead of an unexpectedly high invoice at the end of the month. This gives your customer a good overview of all work performed.

In the customer administration, you can set whether you want to send a status report to each customer individually.

Daily report as a responsive e-mail

The e-mail adapts seamlessly to any end device. You can read the email perfectly on any device. Depending on the device settings, your customer can also read the email perfectly in dark mode.

What’s included?

  • a new permission manage_customer_email_report
  • a new command to send the email report
  • a meta field for customers to activate the email report

System Requirements

You need the ability to execute cronjobs on your server, either in your hosting administration platform or manually via crontab -e. This is required for executing the command bin/console customer-email-report:send.

Setup steps after Installation

If you want to send the email report in English daily at 1:00 am, you can use the following cronjob:

0 1 * * * /usr/bin/php8.1 /var/www/html/kimai/bin/console customer-email-report:send --locale=en >/dev/null 2>&1

安装

复制文件

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

var/plugins/CustomerEmailReportBundle/

The file structure needs to look like this afterwards:

var/plugins/
├── CustomerEmailReportBundle
│   ├── CustomerEmailReportBundle.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/

更新

Updating the plugin works exactly like the installation:

  • Delete the directory var/plugins/CustomerEmailReportBundle/
  • Execute all installation steps again:
    • 复制文件
    • 清除缓存

兼容性

下表包含插件与所需的最低 Kimai 版本之间的比较。

Bundle 版本 最低 Kimai 版本
1.0.0 2.0.0

截图

Screenshot
显示插件新设置的客户管理功能
Screenshot
以电子邮件形式向客户发送每日报告

购买

You can buy the plugin via Lemon Squeezy (CreditCard, instant access)

Support-questions, bug-reports and feature-requests can be made via the contact form at www.simonschaufelberger.de.

Yes, after purchasing the plugin, I can give you access to the GitHub Repository of this plugin if you tell me your GitHub username via the contact form at www.simonschaufelberger.de.

提供者

Simon Schaufelberger

Software developer, freelancer, previous core developer of Kimai 1. Can be hired for custom plugin development.

如果你有任何问题,请使用以下联系信息与开发商直接联系。
Top