# Forloop with if-statement table layout

**URL:** <https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821>\
**Category:** Templates\
**Tags:** tables, control\_flow, if, iterations, for\_loop\
**Created:** [April 12, 2018, 8:21am UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821 "2018-04-12T08:21:53Z")\
**Posts on this page:** 15\
**Page:** 1

<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 12, 2018, 8:21am UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/1 "2018-04-12T08:21:53Z")

</div>

The layout of a table is lost with following code:

Code :

```
|Wagen|Nummerplaat|Chassis|1e inschrijving|CO2|Fiscaal|Out op {% for wagenpark in company.custom.wagenpark %}{% capture wagenin %}{{ wagenpark.in-0 }}{% endcapture %}{% capture wagenout %}{{ wagenpark.out-0 }}{% endcapture %}{% if wagenout == "0.0" or wagenout >= beginboekjaar %}
|:-----|---:|---:|---:|---:|----:|----:|---:|
{% stripnewlines %}
|{{ wagenpark.wagen}}
|{{ wagenpark.nummerplaat }}
|{{ wagenpark.chassisnummer }}
|{{ wagenpark.eerste_inschrijving }}
|{{ wagenpark.co2 }}
|{% if wagenpark.brandstof == "Diesel" %}
    {% if wagenpark.co2 < 61 %}100%{% endif %}
    {% if wagenpark.co2 > 60 and wagenpark.co2 < 106 %}90%{% endif %}
    {% if wagenpark.co2 > 105 and wagenpark.co2 < 116 %}80%{% endif %}
    {% if wagenpark.co2 > 115 and wagenpark.co2 < 146 %}75%{% endif %}
    {% if wagenpark.co2 > 145 and wagenpark.co2 < 171 %}70%{% endif %}
    {% if wagenpark.co2 > 170 and wagenpark.co2 < 196 %}60%{% endif %}
    {% if wagenpark.co2 > 195 %}50%{% endif %}
{% endif %}

{% if wagenpark.brandstof == "Benzine" %}
    {% if wagenpark.co2 < 61 %}100%{% endif %}
    {% if wagenpark.co2 > 60 and wagenpark.co2 < 106 %}90%{% endif %}
    {% if wagenpark.co2 > 105 and wagenpark.co2 < 126 %}80%{% endif %}
    {% if wagenpark.co2 > 125 and wagenpark.co2 < 156 %}75%{% endif %}
    {% if wagenpark.co2 > 155 and wagenpark.co2 < 181 %}70%{% endif %}
    {% if wagenpark.co2 > 180 and wagenpark.co2 < 206 %}60%{% endif %}
    {% if wagenpark.co2 > 205 %}50%{% endif %}
{% endif %}

{% if wagenpark.brandstof == "Elektrisch" %}
120%
{% endif %}
|{{ wagenpark.out }}{% endstripnewlines %}
{% endif %}

{% endfor %}

```

![image](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/1X/f4a5509b58548c6fff8ccdb7f04ed753e206428e.png)

---

<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 12, 2018, 8:56am UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/2 "2018-04-12T08:56:41Z")

</div>

Hello @Thijs,

I’d suggest putting the whole code between `stripnewlines` and for each newline in the table, adding the tag `{% newline %}` to it.

Like this for instance :

```auto
{% stripnewlines %}
|Wagen|Nummerplaat|Chassis|1e inschrijving|CO2|Fiscaal|Out op {% for wagenpark in company.custom.wagenpark %}{% capture wagenin %}{{ wagenpark.in-0 }}{% endcapture %}{% capture wagenout %}{{ wagenpark.out-0 }}{% endcapture %}{% if wagenout == "0.0" or wagenout >= beginboekjaar %}
{% if forloop.first %}
{% newline %}
|:-----|---:|---:|---:|---:|----:|----:|---:|
{% endif %}
{% newline %}
|{{ wagenpark.wagen}}
|{{ wagenpark.nummerplaat }}
|{{ wagenpark.chassisnummer }}
|{{ wagenpark.eerste_inschrijving }}
|{{ wagenpark.co2 }}
|{% if wagenpark.brandstof == "Diesel" %}
    {% if wagenpark.co2 < 61 %}100%{% endif %}
    {% if wagenpark.co2 > 60 and wagenpark.co2 < 106 %}90%{% endif %}
    {% if wagenpark.co2 > 105 and wagenpark.co2 < 116 %}80%{% endif %}
    {% if wagenpark.co2 > 115 and wagenpark.co2 < 146 %}75%{% endif %}
    {% if wagenpark.co2 > 145 and wagenpark.co2 < 171 %}70%{% endif %}
    {% if wagenpark.co2 > 170 and wagenpark.co2 < 196 %}60%{% endif %}
    {% if wagenpark.co2 > 195 %}50%{% endif %}
{% endif %}

{% if wagenpark.brandstof == "Benzine" %}
    {% if wagenpark.co2 < 61 %}100%{% endif %}
    {% if wagenpark.co2 > 60 and wagenpark.co2 < 106 %}90%{% endif %}
    {% if wagenpark.co2 > 105 and wagenpark.co2 < 126 %}80%{% endif %}
    {% if wagenpark.co2 > 125 and wagenpark.co2 < 156 %}75%{% endif %}
    {% if wagenpark.co2 > 155 and wagenpark.co2 < 181 %}70%{% endif %}
    {% if wagenpark.co2 > 180 and wagenpark.co2 < 206 %}60%{% endif %}
    {% if wagenpark.co2 > 205 %}50%{% endif %}
{% endif %}

{% if wagenpark.brandstof == "Elektrisch" %}
120%
{% endif %}
|{{ wagenpark.out }}
{% endif %}
{% endfor %}
{% endstripnewlines %} 

```

More info on newlines here :

> [@CASE: make your code readable with stripnewlines and newline](https://community.silverfin.com/t/case-how-to-use-newline/366):
>
> 1. Stripnewlines tag 2. Stripnewlines and tables 3. Newline tag Making sure your code is well structured is very important in every programming language. It builds logic into your code and you will profit from it in many ways: It will help you to understand your code better You won’t make errors as fast When you do make an error, you’ll find if faster It helps other people to understand your code faster 1. Stripnewlines tag Before we go into the newline tag, we’ll have a look at the s…

---

<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 12, 2018, 9:26am UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/3 "2018-04-12T09:26:45Z")

</div>

Dear @sven

Thanks!

One prolblem. If the if statement returns false at the first line, the lay out breaks:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/1X/4d20da5431a8ffc201ed48891f972ad00de72c01.png)

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/1X/18f633418dd2d23b63c0e6456da99a786c26714d.png)

---

<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 12, 2018, 9:59am UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/4 "2018-04-12T09:59:47Z")

</div>

Breaking @Thijs? Or did you mean that the headers are still visible even if there’s no data in your custom collection?

The better code is this :

```auto
{% stripnewlines %}
{% for wagenpark in company.custom.wagenpark %}
{% if forloop.first %}
| Wagen
| Nummerplaat
| Chassis
| 1e inschrijving
| CO2
| Fiscaal
| Out op {% capture wagenin %}{{ wagenpark.in-0 }}{% endcapture %}{% capture wagenout %}{{ wagenpark.out-0 }}{% endcapture %}{% if wagenout == "0.0" or wagenout >= beginboekjaar %}
{% newline %}
|:-----|---:|---:|---:|---:|----:|----:|---:|
{% endif %}
{% newline %}
|{{ wagenpark.wagen}}
|{{ wagenpark.nummerplaat }}
|{{ wagenpark.chassisnummer }}
|{{ wagenpark.eerste_inschrijving }}
|{{ wagenpark.co2 }}
|{% if wagenpark.brandstof == "Diesel" %}
    {% if wagenpark.co2 < 61 %}100%{% endif %}
    {% if wagenpark.co2 > 60 and wagenpark.co2 < 106 %}90%{% endif %}
    {% if wagenpark.co2 > 105 and wagenpark.co2 < 116 %}80%{% endif %}
    {% if wagenpark.co2 > 115 and wagenpark.co2 < 146 %}75%{% endif %}
    {% if wagenpark.co2 > 145 and wagenpark.co2 < 171 %}70%{% endif %}
    {% if wagenpark.co2 > 170 and wagenpark.co2 < 196 %}60%{% endif %}
    {% if wagenpark.co2 > 195 %}50%{% endif %}
{% endif %}

{% if wagenpark.brandstof == "Benzine" %}
    {% if wagenpark.co2 < 61 %}100%{% endif %}
    {% if wagenpark.co2 > 60 and wagenpark.co2 < 106 %}90%{% endif %}
    {% if wagenpark.co2 > 105 and wagenpark.co2 < 126 %}80%{% endif %}
    {% if wagenpark.co2 > 125 and wagenpark.co2 < 156 %}75%{% endif %}
    {% if wagenpark.co2 > 155 and wagenpark.co2 < 181 %}70%{% endif %}
    {% if wagenpark.co2 > 180 and wagenpark.co2 < 206 %}60%{% endif %}
    {% if wagenpark.co2 > 205 %}50%{% endif %}
{% endif %}

{% if wagenpark.brandstof == "Elektrisch" %}
120%
{% endif %}
|{{ wagenpark.out }}
{% endif %}
{% endfor %}
{% endstripnewlines %}

```

So the headers are only displayed when there’s data in your collection. Other than that, I don’t see issues with this code.

If you have, then perhaps you’ll need to post your code again I’m afraid.

---

<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 12, 2018, 11:19am UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/5 "2018-04-12T11:19:43Z")

</div>

@sven

I meant that the headers are not bold if the first line of my fori-loop is not included in my forloop due the if-statement-\> as you can see in my previous post.

---

<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 12, 2018, 11:22am UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/6 "2018-04-12T11:22:18Z")

</div>

Ah okay… But that’s fixed with the last code by having the complete header in the forloop.first @Thijs.

this is okay for you?

---

<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 12, 2018, 12:19pm UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/7 "2018-04-12T12:19:24Z")

</div>

@sven

With your code i get this: (with only the first one)

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/1X/b7048ad3d5068b13b676879c778fe45f62c3bf53.png)

---

<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 12, 2018, 12:22pm UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/8 "2018-04-12T12:22:22Z")

</div>

Can you post your code, as well perhaps the code you use to fill your collection? @Thijs

Because tested this already and it works for me; not sure why your table gets broken

---

<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 12, 2018, 12:33pm UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/9 "2018-04-12T12:33:06Z")

</div>

```
{% capture Bboekjaar %}{{ period.year_start_date | date:'%d/%m/%Y' }}{% endcapture %}{% capture beginboekjaar %}{{ Bboekjaar-0 }}{% endcapture %}
{% capture Eboekjaar %}{{ period.year_end_date | date:'%d/%m/%Y' }}{% endcapture %}{% capture eindeboekjaar %}{{ Eboekjaar-0 }}{% endcapture %}

{% stripnewlines %}
{% for wagenpark in company.custom.wagenpark %}
{% if forloop.first %}
| Wagen
| Nummerplaat
| Chassis
| 1e inschrijving
| CO2
| Fiscaal
| Out op {% capture wagenin %}{{ wagenpark.in-0 }}{% endcapture %}{% capture wagenout %}{{ wagenpark.out-0 }}{% endcapture %}{% if wagenout == "0.0" or wagenout >= beginboekjaar %}
{% newline %}
|:-----|---:|---:|---:|---:|----:|----:|---:|
{% endif %}
{% newline %}
|{{ wagenpark.wagen}}
|{{ wagenpark.nummerplaat }}
|{{ wagenpark.chassisnummer }}
|{{ wagenpark.eerste_inschrijving }}
|{{ wagenpark.co2 }}
|{% if wagenpark.brandstof == "Diesel" %}
    {% if wagenpark.co2 < 61 %}100%{% endif %}
    {% if wagenpark.co2 > 60 and wagenpark.co2 < 106 %}90%{% endif %}
    {% if wagenpark.co2 > 105 and wagenpark.co2 < 116 %}80%{% endif %}
    {% if wagenpark.co2 > 115 and wagenpark.co2 < 146 %}75%{% endif %}
    {% if wagenpark.co2 > 145 and wagenpark.co2 < 171 %}70%{% endif %}
    {% if wagenpark.co2 > 170 and wagenpark.co2 < 196 %}60%{% endif %}
    {% if wagenpark.co2 > 195 %}50%{% endif %}
{% endif %}

{% if wagenpark.brandstof == "Benzine" %}
    {% if wagenpark.co2 < 61 %}100%{% endif %}
    {% if wagenpark.co2 > 60 and wagenpark.co2 < 106 %}90%{% endif %}
    {% if wagenpark.co2 > 105 and wagenpark.co2 < 126 %}80%{% endif %}
    {% if wagenpark.co2 > 125 and wagenpark.co2 < 156 %}75%{% endif %}
    {% if wagenpark.co2 > 155 and wagenpark.co2 < 181 %}70%{% endif %}
    {% if wagenpark.co2 > 180 and wagenpark.co2 < 206 %}60%{% endif %}
    {% if wagenpark.co2 > 205 %}50%{% endif %}
{% endif %}

{% if wagenpark.brandstof == "Elektrisch" %}
120%
{% endif %}
|{{ wagenpark.out }}
{% endif %}
{% endfor %}
{% endstripnewlines %}
<b><b>

|----|----|--20%--|----|----|----|----|----|----|----|---|---|---|---+{% fori wagenpark in company.custom.wagenpark %}
{% stripnewlines %}
|{% input wagenpark.wagen %}
|{% input wagenpark.nummerplaat %}
|{% input wagenpark.chassisnummer %}
|{% input wagenpark.soort as:select options:"Aankoop|Leasing|Renting" %}
|{% input wagenpark.aankoopfactuur as:file %}
|{% input wagenpark.contract as:file %}
|{% input wagenpark.co2 %}
|{% input wagenpark.cataloguswaarde as:currency %}
|{% input wagenpark.brandstof as:select options:"Diesel|Benzine|Elektrisch"%}
|{% input wagenpark.eerste_inschrijving as:date %}
|{% input wagenpark.btw_aftrekbaar as:percentage %}
|{% input wagenpark.in as:date %}
|{% input wagenpark.out as:date %}{% endstripnewlines %}{% endfori %}
```

---

<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 12, 2018, 3:02pm UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/10 "2018-04-12T15:02:19Z")

</div>

It’s was this little thing right here that broke your table :

```auto
{% if wagenpark.brandstof == "Elektrisch" %}
120%
{% endif %}
|{{ wagenpark.out }}
{% endif %}
{% endfor %}
{% endstripnewlines %}
<b><b> 

```

That   
  
 never should be after a table; before and after a table always leave an empty line.

Should be good now like this:

```auto
{% if wagenpark.brandstof == "Elektrisch" %}
120%
{% endif %}
|{{ wagenpark.out }}
{% endif %}
{% endfor %}
{% endstripnewlines %}

<b><b> 

```

---

<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 12, 2018, 3:45pm UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/11 "2018-04-12T15:45:26Z")

</div>

I’m affraid it didn’t solve it.

First, I think the

> {% if wagenout == “0.0” or wagenout \>= beginboekjaar %}

is not in the right place anymore, because I get only the first line of the loop (it was changed with the stripnewlines):

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/1X/2db8e75fa1907978051c39ec8d4b6a5c3eb96986.png)

Second, when i add a date to the first line in my foriloop:

![image](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/1X/d7714123bfccc7445ced05e94d91b976a9edd081.png)

It loses the layout and I should not by displayed in the forloop, because the date is 31/12/2016 (` {% if wagenout == "0.0" or wagenout >= beginboekjaar %}` )

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 12, 2018, 3:51pm UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/12 "2018-04-12T15:51:12Z")

</div>

Overlooked that obviously, my bad…

this should fix it, because the capture are now out of the if forloop.first-statement as well putting the if-statement after the table :

```auto
{% capture Bboekjaar %}{{ period.year_start_date | date:'%d/%m/%Y' }}{% endcapture %}{% capture beginboekjaar %}{{ Bboekjaar-0 }}{% endcapture %}
{% capture Eboekjaar %}{{ period.year_end_date | date:'%d/%m/%Y' }}{% endcapture %}{% capture eindeboekjaar %}{{ Eboekjaar-0 }}{% endcapture %}

{% stripnewlines %}
{% for wagenpark in company.custom.wagenpark %}
{% if forloop.first %}
| Wagen
| Nummerplaat
| Chassis
| 1e inschrijving
| CO2
| Fiscaal
| Out op 
{% newline %}
|:-----|---:|---:|---:|---:|----:|----:|---:|
{% endif %}
{% capture wagenin %}{{ wagenpark.in-0 }}{% endcapture %}
{% capture wagenout %}{{ wagenpark.out-0 }}{% endcapture %}
{% if wagenout == "0.0" or wagenout >= beginboekjaar %}
{% newline %}
|{{ wagenpark.wagen}}
|{{ wagenpark.nummerplaat }}
|{{ wagenpark.chassisnummer }}
|{{ wagenpark.eerste_inschrijving }}
|{{ wagenpark.co2 }}
|{% if wagenpark.brandstof == "Diesel" %}
    {% if wagenpark.co2 < 61 %}100%{% endif %}
    {% if wagenpark.co2 > 60 and wagenpark.co2 < 106 %}90%{% endif %}
    {% if wagenpark.co2 > 105 and wagenpark.co2 < 116 %}80%{% endif %}
    {% if wagenpark.co2 > 115 and wagenpark.co2 < 146 %}75%{% endif %}
    {% if wagenpark.co2 > 145 and wagenpark.co2 < 171 %}70%{% endif %}
    {% if wagenpark.co2 > 170 and wagenpark.co2 < 196 %}60%{% endif %}
    {% if wagenpark.co2 > 195 %}50%{% endif %}
{% endif %}

{% if wagenpark.brandstof == "Benzine" %}
    {% if wagenpark.co2 < 61 %}100%{% endif %}
    {% if wagenpark.co2 > 60 and wagenpark.co2 < 106 %}90%{% endif %}
    {% if wagenpark.co2 > 105 and wagenpark.co2 < 126 %}80%{% endif %}
    {% if wagenpark.co2 > 125 and wagenpark.co2 < 156 %}75%{% endif %}
    {% if wagenpark.co2 > 155 and wagenpark.co2 < 181 %}70%{% endif %}
    {% if wagenpark.co2 > 180 and wagenpark.co2 < 206 %}60%{% endif %}
    {% if wagenpark.co2 > 205 %}50%{% endif %}
{% endif %}

{% if wagenpark.brandstof == "Elektrisch" %}
120%
{% endif %}
|{{ wagenpark.out }}
{% endif %}
{% endfor %}
{% endstripnewlines %}

<b><b>

|----|----|--20%--|----|----|----|----|----|----|----|---|---|---|---+{% fori wagenpark in company.custom.wagenpark %}
{% stripnewlines %}
|{% input wagenpark.wagen %}
|{% input wagenpark.nummerplaat %}
|{% input wagenpark.chassisnummer %}
|{% input wagenpark.soort as:select options:"Aankoop|Leasing|Renting" %}
|{% input wagenpark.aankoopfactuur as:file %}
|{% input wagenpark.contract as:file %}
|{% input wagenpark.co2 %}
|{% input wagenpark.cataloguswaarde as:currency %}
|{% input wagenpark.brandstof as:select options:"Diesel|Benzine|Elektrisch"%}
|{% input wagenpark.eerste_inschrijving as:date %}
|{% input wagenpark.btw_aftrekbaar as:percentage %}
|{% input wagenpark.in as:date %}
|{% input wagenpark.out as:date %}{% endstripnewlines %}{% endfori %} 

```

No issue with dates however

---

<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 12, 2018, 4:09pm UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/13 "2018-04-12T16:09:26Z")

</div>

Worked perfect! 😄

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 12, 2018, 6:56pm UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/14 "2018-04-12T18:56:45Z")

</div>

Glad to help; nice looking template 👌

---

<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 13, 2018, 6:29am UTC](https://community.silverfin.com/t/forloop-with-if-statement-table-layout/821/15 "2018-04-13T06:29:55Z")

</div>

Work in progress 🙂
