Added support for Value Added Tax.
This commit is contained in:
@@ -18,6 +18,7 @@ class CORESHARED_EXPORT GlobalSettings : public QObject
|
||||
Q_PROPERTY(int ic READ ic WRITE setIc)
|
||||
Q_PROPERTY(QString dic READ dic WRITE setDic)
|
||||
Q_PROPERTY(bool vatPayer READ vatPayer WRITE setVatPayer)
|
||||
Q_PROPERTY(bool pricesWithVAT READ pricesWithVAT WRITE setPricesWithVAT)
|
||||
Q_PROPERTY(QString logoPath READ logoPath WRITE setLogoPath)
|
||||
Q_PROPERTY(QDecDouble vatHigh READ vatHigh WRITE setVatHigh)
|
||||
Q_PROPERTY(QDecDouble vatFirstLower READ vatFirstLower WRITE setVatFirstLower)
|
||||
@@ -74,6 +75,9 @@ public:
|
||||
QString phone() const;
|
||||
void setPhone(const QString &phone);
|
||||
|
||||
bool pricesWithVAT() const;
|
||||
void setPricesWithVAT(bool pricesWithVAT);
|
||||
|
||||
private:
|
||||
QString m_firmName;
|
||||
QString m_street;
|
||||
@@ -83,6 +87,7 @@ private:
|
||||
int m_ic;
|
||||
QString m_dic;
|
||||
bool m_vatPayer;
|
||||
bool m_pricesWithVAT;
|
||||
QString m_logoPath;
|
||||
int m_vatHigh;
|
||||
int m_vatFirstLower;
|
||||
|
||||
Reference in New Issue
Block a user