# CASE: create reconciliation templates just to add attachments in the working papers

**URL:** <https://community.silverfin.com/t/case-create-reconciliation-templates-just-to-add-attachments-in-the-working-papers/718>\
**Category:** Cases\
**Tags:** export\
**Created:** [March 7, 2018, 4:34pm UTC](https://community.silverfin.com/t/case-create-reconciliation-templates-just-to-add-attachments-in-the-working-papers/718 "2018-03-07T16:34:47Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![Thijs](https://avatars.discourse-cdn.com/v4/letter/t/a4c791/32.png) [@Thijs](https://community.silverfin.com/u/Thijs)\
**Post date:** [March 29, 2019, 10:55am UTC](https://community.silverfin.com/t/case-create-reconciliation-templates-just-to-add-attachments-in-the-working-papers/718/21 "2019-03-29T10:55:26Z")

</div>

@sven  
No, there were always multiple attachtments.  
Before the ‘Bijlage 5’ en ‘Bijlage 6’ wasn’t visable on the generated PDF.

It worked perfect for like a year, until yesterday.

---

<div class="post-metadata">

**Author:** ![sven](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/sven/32/1495_2.png) [@sven](https://community.silverfin.com/u/sven)\
**Post date:** [March 29, 2019, 12:22pm UTC](https://community.silverfin.com/t/case-create-reconciliation-templates-just-to-add-attachments-in-the-working-papers/718/22 "2019-03-29T12:22:18Z")

</div>

Little bit confused here I’m afraid @Thijs, sorry about that

The goal is to have a title page that has the title on it, correct? If so, you could just use `{{ export.current_title }}` as explained here:

> [@CASE: display the current title of a block in an export](https://community.silverfin.com/t/case-display-the-current-title-of-a-block-in-an-export/1358):
>
> There’s the option to access the title of an export block (in which you select accounts, reports, reconciliations, …) by this code: {{ export.current\_title }} This was already accessible in the detail text of an export. This is the name of a block in an export: This can also be used from now on next to the page numbering. So you could indicate next to the page number to which block a page belongs to, by doing this for instance: [24] You can find the settings of an expo…

But I’m feeling I’m missing out on your issue, no?

---

<div class="post-metadata">

**Author:** ![Thijs](https://avatars.discourse-cdn.com/v4/letter/t/a4c791/32.png) [@Thijs](https://community.silverfin.com/u/Thijs)\
**Post date:** [March 29, 2019, 12:52pm UTC](https://community.silverfin.com/t/case-create-reconciliation-templates-just-to-add-attachments-in-the-working-papers/718/23 "2019-03-29T12:52:46Z")

</div>

@sven

There is no issue with the title. What i want is to render the PDF’s, that are attatched to a reconciliation with `{{ account_or_text.rendered_template }}`

Template of the reconciliation:

```
{% nic %}
{% if period.custom.some.jaarrekening_doc.document != blank %}
  {% if custom.some.opname_jaarrekening_doc == true or custom.some.opname_jaarrekening_doc == blank %} 
    {% input period.custom.some.jaarrekening_doc as:file_collection %}
  {% endif %}
{% endif %}

{% if period.custom.some.sociale_balans_doc.document != blank %}
  {% if custom.some.opname_sociale_balans_doc == true or custom.some.opname_sociale_balans_doc == blank %}
    {% input period.custom.some.sociale_balans_doc as:file_collection %}
  {% endif %}
{% endif %}
{% endnic %}

{% assign oorsprong_options = '1|2'%}
{% capture oorsprong_types %}{% t "Voorlopig|Definitief" %} {% endcapture %}

{% ic %}
|----|----|----|----|----|----|----+
|{% input custom.some.opname_jaarrekening_doc as:boolean default:'true' %} | Jaarrekening: | {% input period.custom.some.jaarrekening_doc as:file_collection %} | {{ period.custom.some.jaarrekening_doc.updated_by.name }}&nbsp;&nbsp;{{ period.custom.some.jaarrekening_doc.updated_at | date:"%d/%m/%Y" }}|Versie: |{% input period.custom.some.jaarrekening_status as:select options:oorsprong_types option_values:oorsprong_options default:1 %}
|{% input custom.some.opname_sociale_balans_doc as:boolean default:'true' %} | Sociale Balans: | {% input period.custom.some.sociale_balans_doc as:file_collection %} | {{ period.custom.some.sociale_balans_doc.updated_by.name }}&nbsp;&nbsp;{{ period.custom.some.sociale_balans_doc.updated_at | date:"%d/%m/%Y" }}
{% endic %}

<font>

```

This renders the attached PDF’s in ‘Detail Text’:

```
{% for account_or_text in export.selected_accounts_and_reconciliation_texts.900005 %}

{% if account_or_text.is_account %}

{% if forloop.first %}
{% if new_page %}{% newpage account_or_text.preferred_orientation %}{% endif %}{% assign new_page = true %}
{% changeorientation account_or_text.preferred_orientation %}
{::group}

{% else %}
{% changeorientation account_or_text.preferred_orientation %}
{::group}
{% endif %}

<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>

|------|------:+
||<font size="18">{% t "Jaarrekening" %}</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<font color="ffffff">{{ account_or_text.rendered_template }}</font>

<br>

{:/group}
  
{% else %}

{% if forloop.first %}
{% if new_page %}{% newpage account_or_text.preferred_orientation %}{% endif %}{% assign new_page = true %}
{% changeorientation account_or_text.preferred_orientation %}
{::group}

{% else %}
{% changeorientation account_or_text.preferred_orientation %}
{::group}
{% endif %}

<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>

|------|------:+
||<font size="18">{% t "Jaarrekening" %}</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<font color="ffffff">{{ account_or_text.rendered_template }}</font>

<br>

{:/group}

{% endif %}

{% endfor %}

```

With this code it renders the PDF’s, but also the text ‘Bijlage x’. And I want te get rid of that.  
My solutions was the font tag with color set to white. But as of yesterday this seems not possible anymore.

---

<div class="post-metadata">

**Author:** ![Thijs](https://avatars.discourse-cdn.com/v4/letter/t/a4c791/32.png) [@Thijs](https://community.silverfin.com/u/Thijs)\
**Post date:** [April 3, 2019, 9:37am UTC](https://community.silverfin.com/t/case-create-reconciliation-templates-just-to-add-attachments-in-the-working-papers/718/24 "2019-04-03T09:37:24Z")

</div>

@sven

No solution?

---

<div class="post-metadata">

**Author:** ![Thijs](https://avatars.discourse-cdn.com/v4/letter/t/a4c791/32.png) [@Thijs](https://community.silverfin.com/u/Thijs)\
**Post date:** [April 19, 2019, 12:09pm UTC](https://community.silverfin.com/t/case-create-reconciliation-templates-just-to-add-attachments-in-the-working-papers/718/25 "2019-04-19T12:09:51Z")

</div>

@sven

Have you had the time to look into this?

---

<div class="post-metadata">

**Author:** ![sven](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/sven/32/1495_2.png) [@sven](https://community.silverfin.com/u/sven)\
**Post date:** [April 24, 2019, 7:02am UTC](https://community.silverfin.com/t/case-create-reconciliation-templates-just-to-add-attachments-in-the-working-papers/718/26 "2019-04-24T07:02:12Z")

</div>

Hello @Thijs,

Seems this got lost a bit (we work with people assigned every week to follow up on community), but we did investigate some things where we presume something changed (like you said) in the background.

Unfortunately we are still searching for sort of a workaround.

Keep you posted today!

---

<div class="post-metadata">

**Author:** ![Thijs](https://avatars.discourse-cdn.com/v4/letter/t/a4c791/32.png) [@Thijs](https://community.silverfin.com/u/Thijs)\
**Post date:** [April 24, 2019, 7:37am UTC](https://community.silverfin.com/t/case-create-reconciliation-templates-just-to-add-attachments-in-the-working-papers/718/27 "2019-04-24T07:37:54Z")

</div>

@sven

Many thanks!

---

<div class="post-metadata">

**Author:** ![sven](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/sven/32/1495_2.png) [@sven](https://community.silverfin.com/u/sven)\
**Post date:** [April 24, 2019, 8:27am UTC](https://community.silverfin.com/t/case-create-reconciliation-templates-just-to-add-attachments-in-the-working-papers/718/28 "2019-04-24T08:27:25Z")

</div>

Okay @Thijs,

The issue is now clearly examined (thanks for your detailled code for that!), and I do think something changed in the background.  
I also do not see any workaround for now, so I’ve logged an issue ( number _835748472/59850/_) with our Silverfin core team.

I’ll keep you posted as soon as I have more updates regarding this - so sorry for the delay on update.

---

<div class="post-metadata">

**Author:** ![sven](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/sven/32/1495_2.png) [@sven](https://community.silverfin.com/u/sven)\
**Post date:** [April 24, 2019, 1:35pm UTC](https://community.silverfin.com/t/case-create-reconciliation-templates-just-to-add-attachments-in-the-working-papers/718/29 "2019-04-24T13:35:30Z")

</div>

Good news @Thijs, we’ve found a workaround for you.

Instead of adapting color fonts, you could just change the reconciliation template like this:

```auto

{% capture xxx %}
  {% input period.custom.some.jaarrekening_doc as:file_collection %}
{% endcapture %}

{% ic %}{{ xxx }}{% endic %} 

```

Little bit modified and made easier, but what this actually does, is the input object will not be rendered in export. But the attachment will be!

you see, the capture will be seen in input-mode (obviously) but not in export. However, this does not impact the attached docs to the actual objects as a nice side effect!

Could you give this a try? Let me know if you’re stuck

---

<div class="post-metadata">

**Author:** ![Thijs](https://avatars.discourse-cdn.com/v4/letter/t/a4c791/32.png) [@Thijs](https://community.silverfin.com/u/Thijs)\
**Post date:** [April 24, 2019, 2:15pm UTC](https://community.silverfin.com/t/case-create-reconciliation-templates-just-to-add-attachments-in-the-working-papers/718/30 "2019-04-24T14:15:26Z")

</div>

@sven

This works great!  
Thank you for taking the time to look into this!

---

<div class="post-metadata">

**Author:** ![sven](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/sven/32/1495_2.png) [@sven](https://community.silverfin.com/u/sven)\
**Post date:** [April 24, 2019, 2:34pm UTC](https://community.silverfin.com/t/case-create-reconciliation-templates-just-to-add-attachments-in-the-working-papers/718/31 "2019-04-24T14:34:04Z")

</div>

No, thank you for waiting so long for an answer @Thijs🙈

[Previous page](https://community.silverfin.com/t/case-create-reconciliation-templates-just-to-add-attachments-in-the-working-papers/718.md?page=1)
