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
+14
View File
@@ -210,4 +210,18 @@ private:
typedef QSharedPointer<Voucher> VoucherPtr;
#pragma db view object(Voucher)
struct VoucherSum
{
VoucherSum();
QDecDouble totalPrice() const;
void setTotalPrice(QDecDouble totalPrice);
#pragma db column("count(id)")
int m_count;
#pragma db column("sum(totalPrice)")
int m_totalPrice;
};
#endif // VOUCHER_H