Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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>
3