docs: add docs for custom fields, rename template

This commit is contained in:
Benjamin Yule Bädorf 2024-08-12 11:31:37 +02:00 committed by teutat3s
parent df2785f62c
commit 289362cb84
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 49 additions and 41 deletions

View file

@ -8,10 +8,18 @@ This Template is adopted from the original one with some minor changes:
- Altered spacing and fields due to DIN 5008 - Altered spacing and fields due to DIN 5008
- Moved zip-code in front of city - Moved zip-code in front of city
This Template has hardcoded German text.
## Installation ## Installation
Simply add the files into `application/views/invoice_templates/pdf` and select them in Invoiceplane's *System Settings -> Invoices* as PDF templates. Simply add the files into `application/views/invoice_templates/pdf` and select them in Invoiceplane's *System Settings -> Invoices* as PDF templates.
### Extra fields
You can add a "Leistungszeitraum" for any invoice by defining the two custom date fields: `Leistungszeitraum-Anfang` and `Leistungszeitraum-Ende`. These will not be shown on the invoice if either is not set.
You can also add a description text for the full invoice by adding a text custom field called `Beschreibung`.
## Example ## Example
![Screenshot](screenshot.png) ![Screenshot](screenshot.png)