Hi,
We have an invoice template that mostly goes fine but now I found a case where somehow an additional header is displayed but there are no detail lines left.
I would have expected the header to appear once, after each page break but here it appears twice on 1 page.
Here is my definition of the table:
<table id="INVOICELINES" class="tblhdrnopadding invstable" data-detail="INVOICELINES" width="100%">
<thead>
<tr>
<td class="tblbottomline"><b>@hdrchgdescr@</b></td>
<td class="tblbottomline" align="center"><b>@hdrunits@</b></td>
<td class="tblbottomline" align="center"><b>@hdruname@</b></td>
<td class="tblbottomline" align="center"><b>@hdrccy@</b></td>
<td class="tblbottomline" width="65px" align="center"><b>@hdrunitrate@</b></td>
<td class="tblbottomline" width="55px" align="right">
<b>@invccy@<br>
@hdramt@</b>
</td>
</tr>
</thead>
<tbody>
<tr data-hide-when-empty="" data-show-row="all" data-repeat="INVOICELINES.InvoiceLine">
<td></td>
</tr>
<tr class="tblspacing tbldetails" data-show-row="all" data-repeat="INVOICELINES.InvoiceLine.Details">
<td class="invspadding">@ChargeDescription@@txt1@@invref@</td>
<td class="invspadding" align="center">@Units@</td>
<td class="invspadding" align="center">@UnitName@</td>
<td class="invspadding" align="center">@ccy@</td>
<td class="invspadding" align="center">@UnitRate@</td>
<td class="invspadding" align="right">@Amount@</td>
</tr>
</tbody>
</table>
Does anyone know why the system does this?