removes tag if qr code is not present

This commit is contained in:
Godfrey M 2024-11-14 08:54:12 -08:00
parent c093b4531d
commit 23038ab209

View file

@ -49,13 +49,6 @@ class LabelWriter_1933081 extends LabelWriter
); );
$currentX += $barcodeSize + self::BARCODE_MARGIN; $currentX += $barcodeSize + self::BARCODE_MARGIN;
$usableWidth -= $barcodeSize + self::BARCODE_MARGIN; $usableWidth -= $barcodeSize + self::BARCODE_MARGIN;
} else {
static::writeText(
$pdf, $record->get('tag'),
$pa->x1, $pa->y2 - self::TAG_SIZE,
'freesans', 'b', self::TAG_SIZE, 'R',
$usableWidth, self::TAG_SIZE, true, 0
);
} }
if ($record->has('title')) { if ($record->has('title')) {