Skip to content

Commit

Permalink
Merge pull request #15817 from Godmartinz/label_fix
Browse files Browse the repository at this point in the history
Removes asset tag if 2D code is not present
  • Loading branch information
snipe authored Nov 14, 2024
2 parents 7b7a848 + 0f1f6bc commit f2faf58
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions app/Models/Labels/Tapes/Dymo/LabelWriter_2112283.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,6 @@ public function write($pdf, $record) {
);
$currentX += $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')) {
Expand Down
7 changes: 0 additions & 7 deletions app/Models/Labels/Tapes/Dymo/LabelWriter_30252.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,6 @@ public function write($pdf, $record) {
);
$currentX += $barcodeSize + self::BARCODE_MARGIN;
$usableWidth -= $barcodeSize + self::BARCODE_MARGIN;
} else {
static::writeText(
$pdf, $record->get('tag'),
$pa->x1, $pa->y2 - self::TAG_SIZE,
'freemono', 'b', self::TAG_SIZE, 'R',
$usableWidth, self::TAG_SIZE, true, 0
);
}

if ($record->has('title')) {
Expand Down

0 comments on commit f2faf58

Please sign in to comment.