[Fix #1] calculate fee correctly whe export to csv
This commit is contained in:
parent
02b88260e1
commit
381dad1011
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ void Marketplace::exportReportToCSV(const fs::path& filePath, int feeInPercent,
|
|||
<< escapeCsvValue(seller->getFirstName(), delimiter) << delimiter
|
||||
<< seller->numArticlesOffered() << delimiter << seller->numArticlesSold() << delimiter
|
||||
<< escapeCsvValue(seller->sumAsString(), delimiter) << delimiter
|
||||
<< escapeCsvValue(paymentAsString(seller->sumInCents(), feeInPercent, maxFeeInEuro),
|
||||
<< escapeCsvValue(paymentAsString(seller->sumInCents(), feeInPercent, maxFeeInEuro * 100),
|
||||
delimiter)
|
||||
<< "\n";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue