improved invoices with new renderer (#306)
* added docx renderer and demo template * added csv renderer and demo template * added xlsx renderer and demo template * added ods renderer and demo template * added user calculator * added invoice documentation
This commit is contained in:
@@ -184,7 +184,7 @@ Both follow the default naming syntax and you can link your bundle here instead
|
||||
You should NOT add them in `config/packages/kimai.yaml` but in your own bundle or the `local.yaml` [config](configurations.md),
|
||||
otherwise they might get lost during an update.
|
||||
|
||||
## Adding invoice renderer
|
||||
## Adding invoice renderer (FIXME)
|
||||
|
||||
An invoice renderer is a controller action that receives an instanceof `App\Model\InvoiceModel` and returns a HTML response.
|
||||
This HTML response is the preview inside for the invoice screen.
|
||||
@@ -201,7 +201,7 @@ kimai:
|
||||
The name of the renderer must be unique, please prefix it with your vendor or bundle name and make sure it only contains
|
||||
character as it will be stored in a database column.
|
||||
|
||||
## Adding invoice calculator
|
||||
## Adding invoice calculator (FIXME)
|
||||
|
||||
An invoice calculator is a class extending `App\Invoice\CalculatorInterface` and is responsible for calculating
|
||||
invoice rates, taxes and such.
|
||||
@@ -218,7 +218,7 @@ kimai:
|
||||
The name of the calculator must be unique, please prefix it with your vendor or bundle name and make sure it only contains
|
||||
character as it will be stored in a database column.
|
||||
|
||||
## Adding invoice-number generator
|
||||
## Adding invoice-number generator (FIXME)
|
||||
|
||||
An invoice-number generator is a class extending `App\Invoice\NumberGeneratorInterface` and its only task is to generate
|
||||
a number for the invoice. In most cases you do not want to mix multiple invoice-number generators througout your invoice templates.
|
||||
|
||||
Reference in New Issue
Block a user