Added recalculating receipt on item count changed. Some UI changes.

This commit is contained in:
2016-05-26 15:11:55 +02:00
parent 726da24de9
commit 9fbf216bba
12 changed files with 245 additions and 77 deletions
+2
View File
@@ -7,6 +7,7 @@ VoucherItem::VoucherItem(QObject *parent) : QObject(parent)
m_unitPrice = 0;
m_count = 0;
m_refId = 0;
m_vatType = Enums::HIGH;
}
int VoucherItem::id() const
@@ -37,6 +38,7 @@ int VoucherItem::count() const
void VoucherItem::setCount(int count)
{
m_count = count;
emit countChanged();
}
QDecDouble VoucherItem::unitPrice() const