{# The invoice-template page's body — crate::pages::admin::table_definition::ui::TemplateFragment. #} {% include "pages/admin/table_definition/feedback.html" %} {% if !page.generated.is_empty() %}

Tables created from the template

{% for generated in page.generated %} {% endfor %}
TableCollectionParent
{{ generated.table_name }} {% if generated.collection_path.is_empty() %}root{% else %}{{ generated.collection_path }}{% endif %} {% if generated.parent_table_name.is_empty() %}{% else %}{{ generated.parent_table_name }}{% endif %}
{% endif %}

Create tables from an invoice template

Reads the #let komp_ac_fields = (…) contract out of a Typst template. A path that matches an existing table and column becomes a reference to it; anything else becomes a TEXT column to refine later, and every [] becomes a child table.