i m not able not able to fetch item table in delivery challan…
Bellow is my code;
<table>
<tr>
<th rowspan="" width="4%" style="font-size:5px;text-align:center">Sr No</th>
<th rowspan="" width="37%" style="font-size:5px;text-align:center">Item Code</th>
<th rowspan="" width="15%" style="font-size:5px;text-align:center">Hsn Code</th>
<th rowspan="" width="8%" style="font-size:5px;text-align:center"> Description</th>
<th rowspan="" width="4%" style="font-size:5px;text-align:center">Qty</th>
<th rowspan="" width=15%" style="font-size:5px;text-align:center">Purpose</th>
<th rowspan="" width="21%" style="font-size:5px;text-align:center">Rate</th>
</tr>
{%- for row in doc.items -%}
<tr>
<td style="width: 3%;font-size:5px">{{ row.idx }}</td>
<td style="width: 37%;font-size:5px">{{ doc.item_code}}
</td>
<td style="width: 37%;font-size:5px">{{ row.hsn_or_sac}}
</td>
<td style="width: 37%;font-size:5px">{{ row.description}}
</td>
<td style="width: 37%;font-size:5px">{{ row.qty}}
</td>
<td style="width: 37%;font-size:5px">{{ row.purpose}}
</td>
<td style="width: 37%;font-size:5px">{{ row.rate}}
</td>
</tr>
{%- endfor -%}
</table>