You wouldn't even need to loop the lines. On the l...
# advancedpdf
m
You wouldn't even need to loop the lines. On the loop iteration for the actual item, check if the following line is a discount and if so include it. And add an
<#if item.itemtype != 'Discount'>
to skip the actual discount line