Commit 135759d4 authored by Volker Krause's avatar Volker Krause
Browse files

Use the generic UIC 918.3 ticket name decoder

Prepares this to also support ERA FCB tickets.
parent 0520bb30
......@@ -233,9 +233,7 @@ function applyUic9183ToReservation(res, uicCode)
break;
}
}
sb = bl.findSubBlock('001');
if (sb)
res.reservedTicket.name = sb.content;
res.reservedTicket.name = uicCode.name
if (res.reservedTicket.ticketedSeat)
res.reservedTicket.ticketedSeat.seatingType = uicCode.seatingType;
res.underName = JsonLd.toJson(uicCode.person);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment