I have a child table Attachment Doctype with data type attach with field name attachment
i want to display all attachment from the table to print format i tried
{%- for item in doc.attachment -%}
< img src="{{item("attachment")}}" >
{%- endfor -%}
it doesn’t seem to work