better print seller no on sale receipt

This commit is contained in:
Martin Brodbeck 2018-10-12 11:47:03 +02:00
parent f6528bdf45
commit e9fde76a60
3 changed files with 11 additions and 1 deletions

View file

@ -161,7 +161,7 @@ void PosPrinter::printSaleReceipt(Sale* sale)
commandStream << sale->getTimestampFormatted() << "\n\n";
commandStream << Command::LEFT_ALIGN;
for (const auto& article : sale->getArticles()) {
commandStream << "Art. " << article->getCompleteArticleNo() << "........... "
commandStream << "Verk.Nr. " << article->getSeller()->getSellerNoAsString() << "........... "
<< article->getPriceAsString() << "\n";
}
commandStream << "\nGesamt................. " << sale->sumAsString() << "\n";