Make commune configurable (Default is still Dettingen)
This commit is contained in:
parent
bc9e395ee9
commit
cac9ee9e30
6 changed files with 47 additions and 24 deletions
|
@ -33,10 +33,10 @@ class PosPrinter
|
|||
PosPrinter(const PrinterDevice& printerDevice);
|
||||
~PosPrinter();
|
||||
void write(const std::string& text);
|
||||
void printHeader();
|
||||
void printHeader(const std::string& commune = "Musterhausen");
|
||||
void printTest();
|
||||
void printSaleReceipt(Sale* sale);
|
||||
void printSellerReceipt(Seller* seller, int percent, int maxFeeInCent);
|
||||
void printSaleReceipt(Sale* sale, const std::string& commune = "Dettingen");
|
||||
void printSellerReceipt(Seller* seller, const int percent, const int maxFeeInCent, const std::string& commune = "Dettingen");
|
||||
bool isValid();
|
||||
|
||||
struct Command {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue