Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Updated `README.md`
* Admins can now select the default worktime type to be selected in the form within the app.json `config` section via the `default_worktime_type` key.
* Added function to automatically add keys to app.json after update
* Admins can now customize the look and feel of the PDF exports. Please check `README.md` `Exports` section for more information.

## v8.6

Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ A demo is available here: [https://tt-demo.openducks.org](https://tt-demo.opendu
**The demo is available with limited features only, e.g. the plugin system disabled.**
**The demo currently does not work as intended...**

> You would like to support the project? Consider helping out with the documentation at [https://timetrackd.openducks.org](https://timetrackd.openducks.org) or by contributing to the code.

## Installation

### Quick Install with Docker
Expand Down Expand Up @@ -222,6 +224,15 @@ $arbeit->exportModule()->getExportModule("MyExportExportModule")->export($data);
All existing export modules can be accessed with the `ExportManager` Plugin.
You can specify your own CSS file within the `app.json` `exports -> pdf -> css` setting (full path) - the default is `api/v1/class/exports/modules/PDFExportModule/css/index.css`

### Custom contents

You can use custom contents within your PDF exports by placing HTML/PHP files into `api/v1/class/exports/modules/PDFExportModule/php/`.
Two files can be placed there:

- `user_content_ending.php`: This file is included at the end of the PDF export, e.g. for signatures or custom footers
- `user_content_starting.php`: This file is included at the beginning of the PDF export, e.g. for custom headers.
You can put normal PHP and HTML code into these files.

## QR codes

You can use the plugin `QRClock` to generate QR codes for yourself to either clock in or out. The QR code generated can be saved for later use, e.g. print it out.
Expand Down
Empty file.
Loading