KnotKnick
02/28/2023, 2:32 PM<#assign currentRoute = ''>
<#list results as result>
<#if result_index==0>
<tr class="header">
<td colspan="2">Route</td>
<td colspan="2">Vendor</td>
<td colspan="4">Account</td>
<td colspan="4">Product</td>
<td colspan="6">Description</td>
<td colspan="2">Unit</td>
<td colspan="2">Quantity</td>
</tr>
</#if>
<#if result_index==1>
<#assign currentRoute = result.custbody_currentRoute>
</#if>
<#if result_index==2>
<pbr />
</#if>
<tr>
<td colspan="2">${result.custbody_currentRoute}</td>
<td colspan="2">${result.formulatext}</td>
<td colspan="4">${result.customerMain.entityid}</td>
<td colspan="4">${result.item.displayname}</td>
<td colspan="6">${result.item}</td>
<td colspan="2">${result.unitabbreviation}</td>
<td colspan="2">${result.quantity}</td>
</tr>
</#list>
I am using the pbr />
tag to do so (right now with a hardcoded condition). However, adding the pbr />
tag in the pdf template is throwing me an error. Could someone help me with this?jen
02/28/2023, 8:12 PMjen
02/28/2023, 8:12 PM<#if result_index==2>
</table>
<pbr/>
<table>
<tr class="header">
<td colspan="2">Route</td>
<td colspan="2">Vendor</td>
<td colspan="4">Account</td>
<td colspan="4">Product</td>
<td colspan="6">Description</td>
<td colspan="2">Unit</td>
<td colspan="2">Quantity</td>
</tr>
</#if>
jen
02/28/2023, 8:12 PMKnotKnick
02/28/2023, 8:15 PM