Allow to scan IPN barcodes using the built in barcode scanner

This improves issue #373
This commit is contained in:
Jan Böhmer 2023-11-12 00:36:13 +01:00
parent 3953e36921
commit 5cfccab671
9 changed files with 1480 additions and 1397 deletions

View file

@ -103,6 +103,10 @@ class BarcodeScanHelperTest extends WebTestCase
'00001236'];
yield [new BarcodeScanResult(LabelSupportedElement::PART, 1_234_567, BarcodeSourceType::INTERNAL),
'12345678'];
//Test IPN barcode
yield [new BarcodeScanResult(LabelSupportedElement::PART, 2, BarcodeSourceType::IPN),
'IPN123'];
}
public static function invalidDataProvider(): array