Implemented base functionality for commodity grid on shop form.
This commit is contained in:
+2
-1
@@ -7,7 +7,7 @@
|
||||
#include <settings/globalsettings.h>
|
||||
|
||||
#include "data/shop-data.h"
|
||||
#include "ishopitem.h"
|
||||
#include "shopitem.h"
|
||||
|
||||
class ShopService : public Service<Voucher>
|
||||
{
|
||||
@@ -22,6 +22,7 @@ public:
|
||||
QList<QSharedPointer<Voucher> > savedVouchers();
|
||||
QList<QSharedPointer<Voucher> > tempVouchers();
|
||||
QList<QSharedPointer<Voucher> > paiedVouchers();
|
||||
QList<QSharedPointer<ShopItem> > allSellableItems();
|
||||
|
||||
private:
|
||||
QDecDouble includeVat(QDecDouble price, Enums::VatType vatType);
|
||||
|
||||
Reference in New Issue
Block a user