now printing reports
This commit is contained in:
parent
a6c5366b63
commit
4a41036aec
6 changed files with 138 additions and 5 deletions
|
@ -41,6 +41,12 @@ class Marketplace
|
|||
void finishCurrentSale(std::unique_ptr<Sale> sale);
|
||||
void removeSale(boost::uuids::uuid uuid);
|
||||
|
||||
int getOverallSumInCent();
|
||||
std::string getOverallSumAsString();
|
||||
int getOverallPaymentInCent(int percent, int maxFee);
|
||||
std::string getOverallPaymentAsString(int percent, int maxFee);
|
||||
std::string getOverallRevenueAsString(int percent, int maxFee);
|
||||
|
||||
void exportReportToCSV(const std::string& filename, int feeInPercent, int maxFeeInEuro);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue