From 8cf6897a213094afb838018719d35ee8466060b6 Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Tue, 23 Jul 2024 11:00:03 +0200 Subject: [PATCH] FREE_TICKET defaults to templates 24, 25, 26 --- src/ATBAPP/support/Ticket.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ATBAPP/support/Ticket.cpp b/src/ATBAPP/support/Ticket.cpp index 42978a4..f507318 100644 --- a/src/ATBAPP/support/Ticket.cpp +++ b/src/ATBAPP/support/Ticket.cpp @@ -67,6 +67,9 @@ bool Ticket::initNew(TICKET_VARIANT ticketVariant, const QList & templat case TICKET_VARIANT::FINE_PAYMENT: this->_templateList << 24 << 25 << 26; break; + case TICKET_VARIANT::FREE_TICKET: + this->_templateList << 24 << 25 << 26; + break; case TICKET_VARIANT::FOOD_STAMP: if (printingData.contains("dyn1_list")) { this->_hasTemplateDynData = true;