Label printing for viability test
We used {{inventoryViability.id}} to call the ID of the cases for printing in ZPL before.
But now it shows nothing on the label and not be included in the QRcode.
My ZPL code as following:
^XA ^CF0,35 ^FO20,20^FD {{ accession.accessionNumber }}^FS ^CF0,30 ^FO170,70^FDViability:{{ inventoryViability.id }}.{{replicate}}^FS ^FO170,110^FD{{ inventory.inventoryNumber }}^FS ^FO170,150^FD{{ taxon }}^FS ^FX Third section with bar code. ^FO10,50^BQN,2,7^FDQA,{{ inventoryViability.id }}.{{ replicate }}^FS ^XZ
And the output value for printing would be:
^XA ^CF0,35 ^FO20,20^FD VI066762^FS ^CF0,30 ^FO170,70^FD**Viability:.1^FS ^FO170,110^FDORI00066762 SD^FS ^FO170,150^FDCoix lacryma-jobi^FS ^FX Third section with bar code. ^FO10,50^BQN,2,7^FDQA,.1^FS ^XZ
Should I change {{inventoryViability.id}} to any other parameter to call the ID?