Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KItinerary
Commits
2539e046
Commit
2539e046
authored
May 16, 2021
by
Volker Krause
Browse files
Support VR ERA SSB ticket barcodes that wrongly claim to be version 2
parent
48fa50c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/scripts/vr.fi.js
View file @
2539e046
...
...
@@ -6,6 +6,10 @@
function
parseSsbBarcode
(
ssb
,
node
)
{
// vending machine bought and/or newer tickets claim version 2, but they aren't...
if
(
ssb
.
version
==
2
)
{
ssb
=
Barcode
.
decodeEraSsbTicket
(
ssb
.
rawData
,
1
);
}
if
(
ssb
.
version
!=
1
)
{
return
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment