Skip to content

Commit 0f1f6bc

Browse files
committed
fixed rest of dymos
1 parent 23038ab commit 0f1f6bc

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

app/Models/Labels/Tapes/Dymo/LabelWriter_1933081.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ public function write($pdf, $record) {
4949
);
5050
$currentX += $barcodeSize + self::BARCODE_MARGIN;
5151
$usableWidth -= $barcodeSize + self::BARCODE_MARGIN;
52+
} else {
53+
static::writeText(
54+
$pdf, $record->get('tag'),
55+
$pa->x1, $pa->y2 - self::TAG_SIZE,
56+
'freesans', 'b', self::TAG_SIZE, 'R',
57+
$usableWidth, self::TAG_SIZE, true, 0
58+
);
5259
}
5360

5461
if ($record->has('title')) {

app/Models/Labels/Tapes/Dymo/LabelWriter_2112283.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@ public function write($pdf, $record) {
4949
);
5050
$currentX += $barcodeSize + self::BARCODE_MARGIN;
5151
$usableWidth -= $barcodeSize + self::BARCODE_MARGIN;
52-
} else {
53-
static::writeText(
54-
$pdf, $record->get('tag'),
55-
$pa->x1, $pa->y2 - self::TAG_SIZE,
56-
'freesans', 'b', self::TAG_SIZE, 'R',
57-
$usableWidth, self::TAG_SIZE, true, 0
58-
);
5952
}
6053

6154
if ($record->has('title')) {

app/Models/Labels/Tapes/Dymo/LabelWriter_30252.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,6 @@ public function write($pdf, $record) {
5050
);
5151
$currentX += $barcodeSize + self::BARCODE_MARGIN;
5252
$usableWidth -= $barcodeSize + self::BARCODE_MARGIN;
53-
} else {
54-
static::writeText(
55-
$pdf, $record->get('tag'),
56-
$pa->x1, $pa->y2 - self::TAG_SIZE,
57-
'freemono', 'b', self::TAG_SIZE, 'R',
58-
$usableWidth, self::TAG_SIZE, true, 0
59-
);
6053
}
6154

6255
if ($record->has('title')) {

0 commit comments

Comments
 (0)