I am trying to add an If condition statement in a sales orderAdvanced PDF/HTML Template.
If the quantity committed is 0 then I want to print Backorder'.
I tried the following but it did not work :
- <#if item.quantitycommitted == 0> <td style="width: 75px;">Backorder</td></#if>
- <#if ${item.quantitycommitted} == 0> <td style="width: 75px;">Backorder</td></#if>
- <#if record.item.quantitycommitted == 0> <td style="width: 75px;">Backorder</td></#if>
Any idea how to do this ?