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
1cce6a60
Commit
1cce6a60
authored
Oct 28, 2020
by
Volker Krause
Browse files
Fix ticket token type for SNCF Ouigo ticket barcodes
parent
a01cddcc
Pipeline
#38929
passed with stage
in 14 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/extractors/sncf.js
View file @
1cce6a60
...
...
@@ -253,7 +253,7 @@ function parseOuigoTicket(pdf) {
res
.
reservedTicket
.
ticketedSeat
.
seatSection
=
seat
[
1
];
res
.
reservedTicket
.
ticketedSeat
.
seatNumber
=
seat
[
2
];
if
(
Context
.
barcode
)
{
res
.
reservedTicket
.
ticketToken
=
"
a
c
teccode:
"
+
Context
.
barcode
;
res
.
reservedTicket
.
ticketToken
=
"
a
z
teccode:
"
+
Context
.
barcode
;
}
return
res
;
}
Write
Preview
Supports
Markdown
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