Added support for Value Added Tax.
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
|
||||
#include "shop_global.h"
|
||||
|
||||
#define ROUNDING_ITEM -9999
|
||||
|
||||
class PayDialog;
|
||||
class ShopForm;
|
||||
|
||||
@@ -32,6 +34,8 @@ public:
|
||||
void setEetOnline(bool online);
|
||||
bool isEetOnline();
|
||||
bool isEetEnabled();
|
||||
void roundVoucher(VoucherPtr voucher);
|
||||
VoucherItemPtr roundingItem(VoucherPtr voucher);
|
||||
QList<VoucherPtr> savedVouchers();
|
||||
QList<VoucherPtr> tempVouchers();
|
||||
QList<VoucherPtr> paiedVouchers();
|
||||
@@ -40,6 +44,7 @@ public:
|
||||
|
||||
private:
|
||||
QDecDouble includeVat(QDecDouble price, Enums::VatType vatType);
|
||||
QDecDouble excludeVat(QDecDouble price, Enums::VatType vatType);
|
||||
void loadSettings();
|
||||
|
||||
QSharedPointer<GlobalSettings> m_gs;
|
||||
|
||||
Reference in New Issue
Block a user