EET mandatory fields added to bill. closes #291

master
Zdenek Jonak 8 years ago
parent b0d67cf93a
commit de665f9659

@ -129,6 +129,8 @@ QByteArray ReceiptGenerator::generate()
out.append("\x0a"); out.append("\x0a");
out.append(prepareString("ID pokladny: " + shopSettings->eetRegisterId())); out.append(prepareString("ID pokladny: " + shopSettings->eetRegisterId()));
out.append("\x0a"); out.append("\x0a");
out.append(prepareString("Cislo uctenky: " + m_voucher->numSer()));
out.append("\x0a");
out.append("\x1b\x21"); out.append("\x1b\x21");
out.append(printMode); out.append(printMode);
@ -192,8 +194,13 @@ QByteArray ReceiptGenerator::generate()
out.append("\x1b\x21"); out.append("\x1b\x21");
out.append((char)0); out.append((char)0);
out.append("\x0a"); out.append("\x0a");
out.append("Datum:");
out.append(prepareString(m_voucher->payDateTime().toString()));
out.append("\x0a");
if (!m_voucher->eetBkp().isEmpty()) if (!m_voucher->eetBkp().isEmpty())
{ {
out.append("Rezim EET: bezny");
out.append("\x0a");
out.append("BKP:"); out.append("BKP:");
out.append("\x0a"); out.append("\x0a");
out.append(prepareString(m_voucher->eetBkp())); out.append(prepareString(m_voucher->eetBkp()));

Loading…
Cancel
Save