I want to print the place name of the company on the cover page of the export.
I can use {{company.city | slice: 7, 30}} however this does not always work well.
Is it possible to place the field from the template Algemene instellingen - jaarrekening on the cover sheet?
Hi Donderijk,
This is definitely possible;
If you go to styles → actions → edit style → style settings → scroll to “cover text”
You can simply add -
{{ period.reconciliations.vkt_1.results.city_var }}
The “city_var” result comes from the - Identification details which already creates the format you are looking for.
At Silverfin we use the following logic instead of the {{company.city | slice: 7, 30}} solution you have used;
{% assign city_parts = company.city | split:" " %}
{% assign postal_code = city_parts[0] %}
{% assign city_parts = company.city | remove:postal_code %}
{% assign city_parts = city_parts | split:" " %}
{% assign city = city_parts | join:" " %}
{% assign company_city = city %}
{% capture city %}{% input custom.vkt_1.city default:company_city placeholder “Gemeente”%}{% endcapture %}
{% assign city_var = custom.vkt_1.city | default:company_city %}
{% result ‘city_var’ city_var %}
You can always edit the cover page in export styles to your liking.
Don’t hesitate to contact us again if this doesn’t work to your wishes.