I want to hide "quantity" in pdf-templates if it's zero but somehow i cant compare it.
I tried many ways but none work.
Where am i going wrong?
I tried many ways but none work.
HTML Code:
<td style="background-color:#f6e7f4; border-bottom: .5px solid #CF78C3;"> <span style="font-size: 10px;"> <!-- {{#if [quantity > '0.00']}} -->{{quantity}}<!-- {{/if}} --> </span> </td>
HTML Code:
<td style="background-color:#f6e7f4; border-bottom: .5px solid #CF78C3;"> <span style="font-size: 10px;"> <!-- {{#if 'quantity' [>] '0.00'}} -->{{quantity}}<!-- {{/if}} --> </span> </td>
HTML Code:
<td style="background-color:#f6e7f4; border-bottom: .5px solid #CF78C3;"> <span style="font-size: 10px;"> <!-- {{#ifEqual 'quantity' '0.00'}} -->{{quantity}}<!-- {{/ifEqual}} --> </span> </td>
HTML Code:
<td style="background-color:#f6e7f4; border-bottom: .5px solid #CF78C3;"> <span style="font-size: 10px;"> <!-- {{#ifEqual quantity '0.00'}} -->{{quantity}}<!-- {{/ifEqual}} --> </span> </td>
HTML Code:
<td style="background-color:#f6e7f4; border-bottom: .5px solid #CF78C3;"> <span style="font-size: 10px;"> <!-- {{#ifEqual quantity 0.00}} -->{{quantity}}<!-- {{/ifEqual}} --> </span> </td>
HTML Code:
<td style="background-color:#f6e7f4; border-bottom: .5px solid #CF78C3;"> <span style="font-size: 10px;"> <!-- {{#ifEqual quantity 0}} -->{{quantity}}<!-- {{/ifEqual}} --> </span> </td>
Where am i going wrong?
Comment