How to show the child table in printformat

How to show this table in print format .

I already did this, but when there is more than one row, it is not working
{% for promotion in doc.promotion_details %} // Child Table Field Name

<p style="font-size: 14px; margin-bottom: 10px;"><b>Current Position:</b> {{ promotion.current }}</p>
<p style="font-size: 14px; margin-bottom: 10px;"><b>New Position:</b> {{ promotion.new }}</p>

{% endfor %}

@PRaful_9898 check this How to get data from child table using jinja in print format

2 Likes

Thank you for your fast response. Your solution worked perfectly. Thanks again for your help :blush: :+1: