Data structures prepared for VAT.
This commit is contained in:
@@ -25,6 +25,7 @@ public:
|
||||
QString name() override;
|
||||
QDecDouble unitPrice() override;
|
||||
QString pluginId() override;
|
||||
Enums::VatType vatType() override;
|
||||
|
||||
int count() const;
|
||||
void setCount(int count);
|
||||
@@ -33,10 +34,13 @@ public:
|
||||
|
||||
void setUnitPrice(const QDecDouble &unitPrice);
|
||||
|
||||
void setVatType(Enums::VatType vatType);
|
||||
|
||||
private:
|
||||
QString m_name;
|
||||
QDecDouble m_unitPrice;
|
||||
int m_count;
|
||||
Enums::VatType m_vat;
|
||||
};
|
||||
|
||||
#endif // DIRECTSALEITEM_H
|
||||
|
||||
Reference in New Issue
Block a user