Skip to content

Custom Fields into PDF template #93

Discussion options

You must be logged in to vote

Sorry, I didn't check because your code looked good 🤷

I added documentation at
https://www.kimai.org/documentation/export.html#pdf-templates

                            {% set field = entry.metaField(key) %}
                            {% if field is not null and field.value is not null %}
                                    {{ field.value }}
                            {% endif %}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@igjunior
Comment options

@kevinpapst
Comment options

Answer selected by igjunior
@igjunior
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants