Discussions
Streamline Invoice Processing with AI-Powered Automation
Use AI-Driven Insights for Faster, Better Planning and Forecasting
How to Print Item Images in Sales Order Using Advanced PDF/HTML Template
We have Assembly Items which contains a Custom field for Item Image. This field contains images for our products (Field ID: custitem_atlas_item_image)
I've tried to show these images in the Advanced PDF/HTML Sales order template, but i'm having an issue with it. I'm using the following code:
==============================================
<#if record.item?has_content>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="items2">
<#list record.item as item>
<tr>
<td width="5%" align="center"><@filecabinet nstype="image" alt="" src="${item.item.custitem_atlas_item_image}" style="float: left; width: 25px;" /></td>
</tr>
</#list><!-- end items -->
</table>
</#if>
==============================================
Now with every assembly item in the sales order it shows the same item image.