Templates
Last updated
Last updated
In wgSimpleAcc you can create templates for
adding/editing transactions
outputs
If you have recurring transactions then you can create templates for them.
You can select allocation, asset, client and so on. You can also define whether this template is only for incomes, expenses or both.
When you create/edit a transaction then you will find your template name on the top of transactions form.
By clicking on the name the transaction form will be prefilled with the values from your template.
You can create your own output templates, e.g. for invoice.
The template will be selectable for the relevant transactions
Please define a name for your template.
There are three possibilites for outputs:
Ready to use: the template will be filled in and downloaded as pdf immediately
Show in Browser form: the data will be loaded and the output will be shown in your browser
Edit with form: the data will be loaded into a form and you can check result before output
You can create a custom header for your output file. Concerning smarty variables see also 2.5. Smarty variables
You can create a custom content for your output file. Concerning smarty variables see also 2.5. Smarty variables.
You can create a custom footer for your output file. Concerning smarty variables see also 2.5. Smarty variables.
This module uses the Xoops Smarty template engine to render the output. You can use various variables for transaction data, e.g. <{$amount}> will be replaced by the transaction amount
Available smarty-vars for transactions are:
Additionally there are general smarty-vars available:
You can define whether a template is available for all transactions or only for transactions with a specific allocation.
You can define whether a template is available for all transactions or only for transactions with a specific account.
You can set a template online or offline, e.g. if you need it only for one month in a year. Only if a template is online then users will see it in the list of transactions.