use simple iso string
This commit is contained in:
parent
f45e295c75
commit
1607f8946e
3 changed files with 9 additions and 2 deletions
|
@ -144,7 +144,7 @@ void PosPrinter::printSaleReceipt(Sale* sale)
|
|||
std::stringstream commandStream;
|
||||
printHeader();
|
||||
commandStream << Command::RESET << Command::ENCODING << Command::RIGHT_ALIGN;
|
||||
commandStream << sale->getTimestamp() << "\n\n";
|
||||
commandStream << sale->getTimestampFormatted() << "\n\n";
|
||||
commandStream << Command::LEFT_ALIGN;
|
||||
for (const auto& article : sale->getArticles()) {
|
||||
commandStream << "Art. " << article->getCompleteArticleNo() << "........... "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue