closes #1: Favorite buttons has been extended with category buttons.

This commit is contained in:
2023-05-17 21:37:15 +02:00
parent 5b5f31f64d
commit 2597f79d2d
33 changed files with 596 additions and 106 deletions
+4 -2
View File
@@ -27,7 +27,8 @@ public:
void calculate(VoucherPtr voucher);
void calculateItem(VoucherItemPtr item);
void pay(VoucherPtr voucher);
void saveVoucher(VoucherPtr entity, qx::QxSession* pSession = nullptr);
void save(VoucherPtr entity, qx::QxSession* pSession = nullptr) override;
void update(VoucherPtr entity, qx::QxSession* pSession = nullptr) override;
void moveItems(QList<VoucherItemPtr> items, VoucherPtr source, VoucherPtr target);
void updateRelatedItem(VoucherItem* item, int countAdded);
bool processEet(VoucherPtr voucher, QString &message);
@@ -40,7 +41,8 @@ public:
QList<VoucherPtr> tempVouchers();
QList<VoucherPtr> paiedVouchers();
QList<VoucherPtr> vouchersForEet();
QList<IShopItemPtr> allSellableItems();
QList<IShopItemPtr> allSellableItems(const QString& category = "");
QMap<QString, QString> allCategories();
VoucherSum unpaidSummary();
VoucherSum unsendEET();