Implemented temporary save.

This commit is contained in:
2016-05-30 22:12:23 +02:00
parent 8ed2e4d78a
commit 5eb73fb877
7 changed files with 135 additions and 13 deletions
+6
View File
@@ -18,6 +18,7 @@ public:
explicit ShopForm(QWidget *parent = 0);
~ShopForm();
void loadLast();
void fillRaceiptCombo();
private slots:
void on_directSale_clicked();
@@ -30,12 +31,17 @@ private slots:
void onCountChanged();
void on_receiptCombo_currentIndexChanged(int index);
private:
Ui::ShopForm *ui;
QSharedPointer<Voucher> m_voucher;
AutoTableModel<VoucherItem> *m_itemsModel;
void createVoucher();
void doTempSave(bool comboChanged);
void changeReceipt();
void connectItemSignals();
};
#endif // SHOPFORM_H