Barcode on custom template

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
JAYM
User
Posts: 32

Barcode on custom template

Post by JAYM »

Barcode on custom template
Is there a way to show the barcode on custom templates summary report (CustomTemplateBody).

<tr>
            <td style="border: 1px solid black; border-collapse: collapse;">{{{item_code}}}</td>
            <td style="border: 1px solid black; border-collapse: collapse;">{{{unit}}}</td>
            <td style="border: 1px solid black; border-collapse: collapse;">{{{itemdesc}}}</td>
            <td style="border: 1px solid black; border-collapse: collapse;">{{{qty}}}</td>
            <td style="border: 1px solid black; border-collapse: collapse;">{{{description}}}</td>
 	    <td style="border: 1px solid black; border-collapse: collapse;">{{{barcode}}}</td>
</tr>

already enable barcode on custom view tag
thanks for your help.


arbei
User
Posts: 9719

Post by arbei »

Which version are you using? If you see the barcode in the original List/View, you'll see them in the Custom Template also. As the docs says:
Remember that Custom Template is rearrangement of existing HTML fragments in the page, all other code is still the same, the fields in the Custom Template cannot be more than the original script. The available fields are same as the original script, if you try to include other fields in the table or from other table by Custom Template, it will NOT work.

You may also check HTTP response.


Post Reply