Merge pull request #14056 from snipe/bug/retarget_of_13987_dymo_fix

Implement 1D barcode for label "Tapes\Dymo\LabelWriter_30252" #13987
This commit is contained in:
snipe 2023-12-19 14:05:22 +00:00 committed by GitHub
commit f07ae45fc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,5 +86,13 @@ class LabelWriter_30252 extends LabelWriter
);
$currentY += self::FIELD_SIZE + self::FIELD_MARGIN;
}
if ($record->has('barcode1d')) {
static::write1DBarcode(
$pdf, $record->get('barcode1d')->content, $record->get('barcode1d')->type,
$currentX, $barcodeSize + self::BARCODE_MARGIN, $usableWidth - self::TAG_SIZE, self::TAG_SIZE
);
}
}
}