From ff7d25c0f2f0780ebe6dee8f283c7f1931b4822a Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Wed, 6 Mar 2024 15:30:53 -0800 Subject: [PATCH] simplified 1dbarcode logic --- app/View/Label.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/View/Label.php b/app/View/Label.php index 133c99d26..eb030bc8b 100644 --- a/app/View/Label.php +++ b/app/View/Label.php @@ -107,10 +107,7 @@ class Label implements View if ($settings->alt_barcode_enabled) { if ($template->getSupport1DBarcode()) { - $barcode1DType = $settings->label2_1d_type; - $barcode1DType = ($barcode1DType == 'default') ? - (($settings->alt_barcode_enabled) ? $settings->alt_barcode : null) : - $barcode1DType; + $barcode1DType = $settings->alt_barcode; if ($barcode1DType != 'none') { $assetData->put('barcode1d', (object)[ 'type' => $barcode1DType,