michoel
07/11/2019, 11:13 PMsowmya
07/12/2019, 5:06 AMsowmya
07/12/2019, 5:11 AMsowmya
07/12/2019, 5:11 AM<!-- start items -->
<#list record.item?sort_by('custcol_cseg1') as item>
<#assign itemTotal = 0>
<#assign lastGroup = "">
<#if lastGroup != "" && lastGroup != item.custco_cseg1>
<tr>
<td align="right" colspan="31">${itemTotal}</td>
</tr>
<#assign itemTotal = 0>
<#assign lastGroup = item.custcol_cseg1>
</#if>
<tr>
<td colspan="10" line-height="150%">${item.custcol_cseg1}</td>
<td colspan="10"><span class="itemname">${item.item}</span><br />${item.description}</td>
<td colspan="3">${item.quantity}</td>
<td align="right" colspan="4">${item.rate}</td>
<td align="right" colspan="4">${item.amount}</td>
</tr>
<#assign itemTotal = itemTotal + item.amount>
</#list><!-- end items --></table>
michoel
07/12/2019, 6:19 AMlist