<#assign billableList=[{“description”:“”,“quant...
# advancedpdf
s
<#assign billableList=[{“description”“”,“quantity”“”,“rate”“”,“amount”“”}] /> #attempt <#if record.custpage_json_to_print_items?has_content && record.custpage_json_to_print_items != ‘Lorem ipsum dolor sit amet consectetuer ac orci sociis ornare laoreet.‘> <#assign billableList = (‘’+record.custpage_json_to_print_items)?eval /> <!--render table header here --> <#assign renderBillableList = (billableList?size > 0) /> </#if> #recover </#attempt> <#if renderBillableList!false == true > <table style=“width: 100%; margin-top: 10px;“> <thead> <tr> <th align=“left” colspan=“20">Description</th> <th align=“center” colspan=“4">Quantity</th> <th align=“right” colspan=“4">Rate</th> <th align=“right” colspan=“4">Amount</th> </tr> </thead> <#list billableList as billLines><tr> <td align=“left” colspan=“20" line-height=“150%“>${billLines.description}</td> <td align=“center” colspan=“4">${billLines.quantity}</td> <td align=“right” colspan=“4">${billLines.rate}</td> <td align=“right” colspan=“4">${billLines.amount?string}</td> </tr> </#list> </table> </#if>