[Fix #5] show no of customers in print report
This commit is contained in:
parent
42a1a3151f
commit
725bc8f04b
1 changed files with 2 additions and 1 deletions
|
@ -161,9 +161,10 @@ void ReportDialog::onPrintReportButtonClicked()
|
|||
(static_cast<double>(numArticlesSold) / static_cast<double>(numArticlesOffered)) * 100;
|
||||
content += QString("Registrierte Verkäufer: %1\n").arg(sellers.size() - 1, 6);
|
||||
content += QString("Angelieferte Artikel: %1\n").arg(numArticlesOffered, 6);
|
||||
content += QString("Verkaufte Artikel: %1 (%L2 %)\n\n")
|
||||
content += QString("Verkaufte Artikel: %1 (%L2 %)\n")
|
||||
.arg(numArticlesSold, 6)
|
||||
.arg(percentArticlesSold, 0, 'f', 2);
|
||||
content += QString("Anzahl Kunden: %1\n\n").arg(market_->getSales().size(), 6);
|
||||
content += QString("Gesamtumsatz: %1\n").arg(market_->getOverallSumAsString().c_str(), 10);
|
||||
content +=
|
||||
QString("Ausgezahlt: %1\n")
|
||||
|
|
Loading…
Reference in a new issue