Item is added to voucher if found and on enter key pressed in search edit (barcode reader optimization).
This commit is contained in:
@@ -47,11 +47,14 @@ private slots:
|
||||
|
||||
void on_lblEetState_linkActivated(const QString &link);
|
||||
|
||||
void on_commoditySearch_returnPressed();
|
||||
|
||||
private:
|
||||
Ui::ShopForm *ui;
|
||||
QSharedPointer<Voucher> m_voucher;
|
||||
AutoTableModel<VoucherItem> *m_itemsModel;
|
||||
AutoTableModel<ShopItem> *m_commodityModel;
|
||||
bool m_itemFound;
|
||||
|
||||
void createVoucher();
|
||||
void doTempSave(bool comboChanged);
|
||||
|
||||
Reference in New Issue
Block a user