Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Hide whole line on Advanced PDF/HTML Template if Quantity = 0
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>