Hello all,
In this payslip, how to display only the last amount of 751,83 $ in the section « Salaire net : »????
Here is my template code for this section :
<div class="col-xs-4" style="">
<h4>
<strong>Net pay :</strong>
</h4>
<div style="margin-left: 20px;">
<div t-foreach="get_payslip_lines(o.line_ids)" t-as="p">
<span t-esc="formatLang(p.amount, currency_obj=o.company_id.currency_id)" />
<span t-esc="formatLang(p.total, currency_obj=o.company_id.currency_id)" />
</div>
</div>
<br />
</div>
What do you think about that? Idea?