mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-22 11:54:41 +02:00
Use shorter format for barcodes, to generate shorter (better readable) barcodes.
This commit is contained in:
parent
f9f2774f36
commit
3dd0ef26b3
4 changed files with 22 additions and 9 deletions
|
@ -44,7 +44,12 @@ class BarcodeNormalizerTest extends WebTestCase
|
|||
[['part', 123], 'https://localhost:8000/scan/part/123'],
|
||||
[['location', 4], 'http://foo.bar/part-db/scan/location/4'],
|
||||
[['under_score', 10], 'http://test/part-db/sub/scan/under_score/10/'],
|
||||
//New Code39 barcodes:
|
||||
//Current Code39 format:
|
||||
[['lot', 10], 'L0010'],
|
||||
[['lot', 123], 'L0123'],
|
||||
[['lot', 123456], 'L123456'],
|
||||
[['part', 2], 'P0002'],
|
||||
//Development phase Code39 barcodes:
|
||||
[['lot', 10], 'L-000010'],
|
||||
[['lot', 10], 'Lß000010'],
|
||||
[['part', 123], 'P-000123'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue