Added dashboard to Shop plugin.

This commit is contained in:
2018-05-23 14:11:56 +02:00
parent 22936f2a3f
commit 653f8eac30
11 changed files with 263 additions and 3 deletions
+16
View File
@@ -350,3 +350,19 @@ void Voucher::setId(int id)
{
m_id = id;
}
VoucherSum::VoucherSum()
{
m_totalPrice = 0;
m_count = 0;
}
QDecDouble VoucherSum::totalPrice() const
{
return TO_DEC(m_totalPrice);
}
void VoucherSum::setTotalPrice(QDecDouble totalPrice)
{
m_totalPrice = FROM_DEC(totalPrice);
}