If macro EET is not defined EET functions will be hidden.

This commit is contained in:
2023-06-02 15:04:53 +02:00
parent 8b132c6c51
commit 93eb98c10a
8 changed files with 105 additions and 8 deletions
+10
View File
@@ -421,3 +421,13 @@ QDecDouble VoucherSum::totalPrice() const
int VoucherSum::count() const {
return m_count;
}
VoucherSum::VoucherSum(int count, int totalPrice) : m_count(count), m_totalPrice(totalPrice) {}
void VoucherSum::addPrice(QDecDouble price) {
m_totalPrice += FROM_DEC(price);
}
void VoucherSum::addCount(int count) {
m_count += count;
}