FREE_TICKET defaults to templates 24, 25, 26

This commit is contained in:
Siegfried Siegert 2024-07-23 11:00:03 +02:00
parent 69eb87e358
commit 8cf6897a21
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -67,6 +67,9 @@ bool Ticket::initNew(TICKET_VARIANT ticketVariant, const QList<quint8> & 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;