printing seller receipt started
This commit is contained in:
parent
6e6510ebcf
commit
88d7225e61
3 changed files with 34 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
|||
#define POS_PRINTER_H
|
||||
|
||||
#include <sale.h>
|
||||
#include <seller.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -23,7 +24,8 @@ class PosPrinter
|
|||
void write(const std::string& text);
|
||||
void printHeader();
|
||||
void printTest();
|
||||
void printReceipt(Sale* sale);
|
||||
void printSaleReceipt(Sale* sale);
|
||||
void printSellerReceipt(Seller* seller, int percent, int maxFee);
|
||||
|
||||
struct Command {
|
||||
static const std::string RESET;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue