I am creating an advanced Invoice PDF template and according to the invoice record, I am supposed to be able to access the "billable items" sublist called "itemcost". When adding code below, nothing gets returned even though there are items in the billable items list. Just to test I also did !record.itemcost?has_content but either way, the div "testing itemcost" never shows. Any help is appreciated.
<#if record.itemcost?has_content>
<div>testing itemcost</div>
</#if>