diff --git a/src/Services/LabelSystem/BarcodeScanner/BarcodeScanHelper.php b/src/Services/LabelSystem/BarcodeScanner/BarcodeScanHelper.php index 6d2cb8c9..e5930b36 100644 --- a/src/Services/LabelSystem/BarcodeScanner/BarcodeScanHelper.php +++ b/src/Services/LabelSystem/BarcodeScanner/BarcodeScanHelper.php @@ -94,12 +94,6 @@ final class BarcodeScanHelper } //Null means auto and we try the different formats - - //If the barcode is formatted as EIGP114, we can parse it directly - if (EIGP114BarcodeScanResult::isFormat06Code($input)) { - return $this->parseEIGP114Barcode($input); - } - $result = $this->parseInternalBarcode($input); if ($result !== null) { @@ -112,6 +106,11 @@ final class BarcodeScanHelper return $result; } + //If the barcode is formatted as EIGP114, we can parse it directly + if (EIGP114BarcodeScanResult::isFormat06Code($input)) { + return $this->parseEIGP114Barcode($input); + } + //Try to parse as IPN barcode $result = $this->parseIPNBarcode($input); if ($result !== null) {