more on seller receipt

This commit is contained in:
Martin Brodbeck 2018-08-06 21:36:26 +02:00
parent 1607f8946e
commit bc35f95a06
1 changed files with 4 additions and 3 deletions

View File

@ -166,6 +166,7 @@ void PosPrinter::printSellerReceipt(Seller* seller, int percent, int maxFeeInCen
boost::posix_time::to_simple_string(boost::posix_time::second_clock::local_time());
commandStream << timeStr << "\n\n";
commandStream << Command::LEFT_ALIGN;
commandStream << "Name: " << seller->getFirstName() << " " << seller->getLastName() << "\n";
commandStream << "Verkäufernummer: " << std::setw(4) << seller->getSellerNo() << "\n\n";
commandStream << "Anzahl Artikel geliefert: " << std::setw(4) << seller->numArticlesOffered()
<< "\n";