diff --git a/shop/receiptgenerator.cpp b/shop/receiptgenerator.cpp index 8bab43b..abb6153 100644 --- a/shop/receiptgenerator.cpp +++ b/shop/receiptgenerator.cpp @@ -128,6 +128,8 @@ QByteArray ReceiptGenerator::generate() out.append(prepareString("ID provozovny: " + shopSettings->eetShopId())); out.append("\x0a"); out.append(prepareString("ID pokladny: " + shopSettings->eetRegisterId())); + out.append("\x0a"); + out.append(prepareString("Cislo uctenky: " + m_voucher->numSer())); out.append("\x0a"); out.append("\x1b\x21"); @@ -192,8 +194,13 @@ QByteArray ReceiptGenerator::generate() out.append("\x1b\x21"); out.append((char)0); out.append("\x0a"); + out.append("Datum:"); + out.append(prepareString(m_voucher->payDateTime().toString())); + out.append("\x0a"); if (!m_voucher->eetBkp().isEmpty()) { + out.append("Rezim EET: bezny"); + out.append("\x0a"); out.append("BKP:"); out.append("\x0a"); out.append(prepareString(m_voucher->eetBkp()));