Skip to main content

Article

info

The Article template is only available in version C3 of Cirrus.

These fields are available in Article templates:

ExpressionDescription
{{Article.id}}Article ID
{{Article.name}}Name of the article
{{Article.number}}Article number
{{Article.description}}Article description
{{Article.vat}}VAT
{{Article.price}}Price of the article
{{Article.buyprice}}Purchase price of the article
{{Article.supplierName}}Supplier name of the article
{{Article.supplierArticleNumber}}Supplier article number
{{Article.unit.id}}ID of the article unit
{{Article.unit.name}}Name of the article unit
{{Article.group.id}}ID of the article group
{{Article.group.name}}Name of the article group

Dynamic fields

These expressions are available when listing dynamic fields.

ExpressionDescription
{{name}}Display name of the dynamic field
{{value}}The dynamic field value, serialized as a string

Example of how to list dynamic fields.

<dl>
{{#each Article.dynamicFields}}
<dd>{{name}}</dd>
<dt>{{value}}</dt>
{{/each}}
</dl>