📗
wgSimpleAcc-tutorial
  • wgSimpleAcc Tutorial
  • English
    • Install and uninstall
    • Administration Menu
      • Transactions
      • Transactions history
      • Files
      • Files history
      • Assets
      • Accounts
      • Allocations
      • Balances
      • Currencies
      • Taxes
      • Transactions templates
      • Output templates
      • Clients
      • Permissions
      • Feedback
      • About
      • Help
    • Preferences
      • General options
      • Options for uploads
      • Options for display
      • Options for formats
      • Options for index page
      • Options for balances
      • Options for optional components
      • Options for display
      • Misc options
    • Operating Instructions
    • The User Side
      • Index page
      • Accounts
      • Allocations
      • Assets
      • Balances
      • Clients
      • Outputs
      • Statistics
      • Templates
      • Transactions
      • Upload files by App
    • Blocks
    • Templates
    • Module Credits
    • About XOOPS CMS
  • Deutsch
    • Installieren und Deinstallieren
    • Administrationmenü
      • Transaktionen
      • Transaktionen Historie
      • Dateien
      • Dateien Historie
      • Vermögenswerte
      • Konten
      • Zuordnungen
      • Abschlüsse
      • Währungen
      • Steuern
      • Transaktionsvorlagen
      • Ausgabevorlagen
      • Klienten
      • Berechtigungen
      • Feedback
      • Über
      • Hilfe
    • Einstellungen
      • Allgemeine Optionen
      • Optionen für Uploads
      • Optionen für Anzeige
      • Optionen für Formate
      • Optionen für Indexseite
      • Optionen für Abschlüsse
      • Optionen für optionale Komponenten
      • Sonstige Optionen
    • Benutzeranleitung
    • Benutzerseite
      • Indexseite
      • Konten
      • Zuordnungen
      • Vermögenswerte
      • Abschlüsse
      • Klienten
      • Ausgaben
      • Statistiken
      • Vorlagen
      • Transaktionen
      • Dateiupload mit App
    • Blöcke
    • Templates
    • Module Credits
    • About XOOPS CMS
Powered by GitBook
On this page
  • 1. Transaction templates
  • 2. Output templates
  • 2.1. Name
  • 2.2. Type
  • 2.2. Page header
  • 2.3. Content
  • 2.4. Page footer
  • 2.5. Smarty variables
  • 2.6. Allocations
  • 2.7. Accounts
  • 2.8. Online

Was this helpful?

  1. English
  2. The User Side

Templates

PreviousStatisticsNextTransactions

Last updated 3 years ago

Was this helpful?

In wgSimpleAcc you can create templates for

  • adding/editing transactions

  • outputs

1. Transaction templates

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.

2. Output templates

You can create your own output templates, e.g. for invoice.

The template will be selectable for the relevant transactions

2.1. Name

Please define a name for your template.

2.2. Type

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

2.2. Page header

You can create a custom header for your output file. Concerning smarty variables see also 2.5. Smarty variables

2.3. Content

You can create a custom content for your output file. Concerning smarty variables see also 2.5. Smarty variables.

2.4. Page footer

You can create a custom footer for your output file. Concerning smarty variables see also 2.5. Smarty variables.

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:

<{$sender}>: Default sender for output
<{$recipient}>: Recipient/Client
<{year}>: transaction registration year
<{nb}>: transaction registration year
<{$year_nb}>: Registration year/number of transaction (Format: YYYY/00000)
<{$desc}>: Description
<{$reference}>: Reference
<{$account}>: Account
<{$allocation}>: Allocation
<{$asset}>: Asset
<{$date}>: Transaction date
<{$amount}>: Amount
<{$status_text}>: Status
<{$datecreated}>: Date created
<{$submitter}>: Submitter

Additionally there are general smarty-vars available:

<{$xoops_sitename}>: The website name
<{xoops_slogan}>: Slogan of website
<{$xoops_pagetitle}>: The page title
<{$xoops_url}>: The site main url (e.g. http://localhost/)
<{$output_date}>: Date output
<{$output_user}>: Current user name

2.6. Allocations

You can define whether a template is available for all transactions or only for transactions with a specific allocation.

2.7. Accounts

You can define whether a template is available for all transactions or only for transactions with a specific account.

2.8. Online

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.

Templates
Transaction templates 1
Transaction templates 2
Output templates 1
Output templates 2