Hi,
Working with Advanced PDF/HTMl and trying add logic where if Quantity =0 then I would want the whole line to not show when printed.
Example:
<tr>
<td align="center" colspan="2" line-height="150%"><#if item.quantity?? && item.quantity!=0>
${item.quantity}
</#if>
</td>
<td colspan="12"><span style="font-weight: bold; line-height: 150%; color: #333333;">${item.item}</span><br />${item.description}</td>
<td align="center" colspan="3"><#if item.custcol_ws_ship_method == "Delivery">DEL <#elseif item.custcol_ws_ship_method == "Customer Pick Up">CPU <#elseif item.custcol_ws_ship_method == "Outside Services">OSS <#elseif item.custcol_ws_ship_method == "Ship To Other Store">TOS</#if></td>
<td align="left" colspan="6">${item.shipaddress}, ${item.custcol_ws_zip_code}</td>
<#if ESTDEL==true>
<td align="center" colspan="6">${item.custcol_ws_est_delivery_date_line}</td>
</#if><#if SCHDEL==true>
<td align="center" colspan="7">${item.custcol_ws_delivey_date_zone}</td>
</#if><#if ESTPU==true>
<td align="center" colspan="6">${item.custcol_ws_est_pickup_date_line}</td>
</#if><#if SCHPU==true>
<td align="center" colspan="6">${item.custcol_ws_scheduled_pickup_date_line}</td>
</#if>
<td align="center" colspan="5">${item.location}</td>
<#if UT==true>
<td align="center" colspan="2">${item.custcol_ns_item_uses_use_tax}</td>
</#if>
<td align="center" colspan="7">${item.rate}</td>
<td align="center" colspan="7">${item.amount}</td>
</tr>