Tables in document templates: Difference between revisions

From Planfix
Jump to: navigation, search
No edit summary
No edit summary
Line 10: Line 10:
*Variable names corresponding to the fields of the data tag storing the data are entered in the cells of this row
*Variable names corresponding to the fields of the data tag storing the data are entered in the cells of this row


Sample: a table in an invoice template:  
'''Sample:''' a table in an invoice template:  


https://s.pfx.so/pf/qL/3LFfTJ.png
https://s.pfx.so/pf/qL/3LFfTJ.png


Variables for filling in tables are listed in the Documents / Document Templates section:  
Variables for filling in tables are listed in the Documents / Document Templates section:  


https://s.pfx.so/pf/gg/rDqkJH.png
https://s.pfx.so/pf/gg/rDqkJH.png


In addition to the list of fields available for each data tag, there are also two universal variables: Number and !quantity:
In addition to the list of fields available for each data tag, there are also two universal variables: Number and !quantity:


https://s.pfx.so/pf/80/2i2EJ5.png
https://s.pfx.so/pf/80/2i2EJ5.png

Revision as of 12:34, 26 July 2022

Data tags are usually used to insert a table section with any number of objects (goods, services, etc.) into a document created from a template. This is done as follows:

  • A table is added to the template with the desired title and one row
  • Variable names corresponding to the fields of the data tag storing the data are entered in the cells of this row

Sample: a table in an invoice template:

3LFfTJ.png


Variables for filling in tables are listed in the Documents / Document Templates section:

rDqkJH.png


In addition to the list of fields available for each data tag, there are also two universal variables: Number and !quantity:

2i2EJ5.png