mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
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:
commit
f07ae45fc0
|
@ -86,5 +86,13 @@ class LabelWriter_30252 extends LabelWriter
|
||||||
);
|
);
|
||||||
$currentY += self::FIELD_SIZE + self::FIELD_MARGIN;
|
$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
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue