Added possibility for creating vouchers from other module.
This commit is contained in:
@@ -9,6 +9,11 @@
|
||||
#include "data/shop-data.h"
|
||||
#include "shopitem.h"
|
||||
|
||||
class PayDialog;
|
||||
class ShopForm;
|
||||
|
||||
void payVoucherFromUI(VoucherPtr voucher, PayDialog *dialog, ShopForm *form = NULL);
|
||||
|
||||
class ShopService : public Service<Voucher>
|
||||
{
|
||||
public:
|
||||
@@ -41,6 +46,7 @@ private:
|
||||
public:
|
||||
void saveVoucher(VoucherPtr entity);
|
||||
void updateVoucher(VoucherPtr entity);
|
||||
void eraseVoucher(VoucherPtr entity);
|
||||
};
|
||||
|
||||
#endif // SHOPSERVICE_H
|
||||
|
||||
Reference in New Issue
Block a user