mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Allow to scan IPN barcodes using the built in barcode scanner
This improves issue #373
This commit is contained in:
parent
3953e36921
commit
5cfccab671
9 changed files with 1480 additions and 1397 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue