Hi
I have put a custom html in a custom print format
the code fetches the gst values in to cgst, sgst, igst and puts the values in a column
it does the job
put when i print in pdf, the column and the details appear in pdf but the values are not showing
any help please
regards
hemanth
thanks for the reply
iam not able to share the code
when i copy paste the code here, it just shows blank
regards
Hemanth
<table class="table table-bordered">
<tbody>
<tr>
<th class="text-right">CGST</th>
<th class="text-right">SGST</th>
<th class="text-right">IGST</th>
</tr>
{%- for row in doc.items -%}
<tr>
<td class="sgst{{loop.index}}">Nil</td>
<td class="cgst{{loop.index}}">Nil</td>
<td class="igst{{loop.index}}">Nil</td>
</tr>
{%- endfor -%}
</tbody>
this is the code i used
Why are you using loop.index instead of row.index?
hi Helio_jesus
row.index returns NIL value
this is what i get when i click the print button
when i click the pdf button, this is what i get
Regards
Hemanth