Hello,
I would like to add the image from the Item table to the custom HTML print format of Quotation. What exactly would be the lines for that? I am trying out these lines but these don’t seem to print the image. Please help.
{%- for item in doc.items -%} {{ item.item_group }} <img src="{{ item.image }}"
class="img-responsive" style="max-height: 200px">
<td> {{ item.image }} </td>
<td class="text-right">{{ item.qty }} </td>
<td class="text-right">@ {{ item.get_formatted("rate") }}</td>
<td class="text-right">{{ item.get_formatted("amount") }}</td>
</tr>
{%- endfor -%}
</tbody>