Hii all
i want ask, my bill like this
we can see 1 item ony have 1 receipts,, but when im print this bill, the printout results are like this,
because there are 6 lines on the bill, the receipt shown on the printout has 6 lines, how do you show that the print only has 1 line per 1 item
====
adding information : on bill
<table class="itemtable" style="width: 100%; margin-top: 10px;">
<thead>
<tr>
<th colspan="2">${record.item[0].item@label}</th>
<th>${record.item[0].quantity@label}</th>
<th align="right">Receipt Doc</th>
<#if record.item[0].tax1amt@label?length != 0>
<th align="right">${record.item[0].tax1amt@label}</th>
</#if><#if record.item[0].taxrate2@label?length != 0>
<th align="right">${record.item[0].taxrate2@label}</th>
</#if>
<th align="right">${record.item[0].rate@label}</th>
<th align="right">${record.item[0].amount@label}</th>
</tr>
</thead>
<!-- start items --><#list record.item as item><tr>
<td colspan="2">${item.item}</td>
<td>${item.quantity}</td>
<td align="right">${item.billreceipts}</td>
<#if item.tax1amt?has_content>
<td align="right">${item.tax1amt}</td>
</#if><#if item.taxrate2?has_content>
<td align="right">${item.taxrate2}</td>
</#if>
<td align="right">${item.rate}</td>
<td align="right">${item.amount}</td>
</tr>
</#list></table>
<#else> <!-- only expenses machine have content --> <span class="tabletitle">${record.expense@label}</span>