Print barcode Table

I need to print the first Code in the Item Barcode table, But I need to print just the barcode, not the number.

Is there a way to achieve this?

Yes you can achieve this in the following manner:

<div>{{ doc.barcodes[0].barcode }}</div>

You can refer to our documentation for additional Print Format and Jinja templating assistance: https://docs.erpnext.com/docs/user/manual/en/customize-erpnext/print-format

1 Like