Bill payment record – Error

Error states while bill payment printing: “com.netledger.app.accounting.print.advancedprint.PdfPrintException: Missing “value” attribute in barcode”.

This can correct using following HTML code

Locate the following part of code: <barcode codetype=”code128″ showtext=”true” value=”${‌record.tranid}”/>

Replace it with the following code:
<#if record.tranid?length !=0>
    <td><barcode codetype=”code128″ showtext=”true” value=”${‌record.tranid}”/></td>
    <td align=”right”><pagenumber/> of <totalpages/></td>
                <#else>
  <td><barcode codetype=”code128″ showtext=”true” value=”${‌record.transactionnumber}”/></td>
    <td align=”right”><pagenumber/> of <totalpages/></td></#if>
    </tr></table>

Leave a comment

Your email address will not be published. Required fields are marked *