Commit 6a29208a authored by Volker Krause's avatar Volker Krause
Browse files

Produce correct reservation numbers for ZSSK RCT2 tickets

parent 11ba3d25
......@@ -125,7 +125,8 @@ bool Uic9183Parser::isValid() const
QString Uic9183Parser::pnr() const
return findBlock<Uic9183Head>().ticketKey().left(6);
const auto key = findBlock<Uic9183Head>().ticketKey();
return key.startsWith(QLatin1Char(' ')) ? key.trimmed() : key.left(6);
QString Uic9183Parser::name() const
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