Implemented vat rate settings for Camp module.
This commit is contained in:
@@ -13,6 +13,7 @@ class CampSettings : public QObject
|
||||
Q_PROPERTY(int accFeeStartAge READ accFeeStartAge WRITE setAccFeeStartAge)
|
||||
Q_PROPERTY(int accFeeEndAge READ accFeeEndAge WRITE setAccFeeEndAge)
|
||||
Q_PROPERTY(Enums::Rounding rounding READ rounding WRITE setRounding)
|
||||
Q_PROPERTY(Enums::VatType vatType READ vatType WRITE setVatType)
|
||||
Q_PROPERTY(int decimalPlaces READ decimalPlaces WRITE setDecimalPlaces)
|
||||
Q_PROPERTY(QString accFeeText READ accFeeText WRITE setAccFeeText)
|
||||
|
||||
@@ -37,12 +38,16 @@ public:
|
||||
QString accFeeText() const;
|
||||
void setAccFeeText(const QString &accFeeText);
|
||||
|
||||
Enums::VatType vatType() const;
|
||||
void setVatType(const Enums::VatType &vatType);
|
||||
|
||||
private:
|
||||
int m_accFee;
|
||||
int m_accFeeStartAge;
|
||||
int m_accFeeEndAge;
|
||||
QString m_accFeeText;
|
||||
Enums::Rounding m_rounding;
|
||||
Enums::VatType m_vatType;
|
||||
int m_decimalPlaces;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user