Added pay voucher feature. Added dialog with paied vouchers. Added
support for printing receipts on POS printer.
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#ifndef PAYDVOUCHERSDIALOG_H
|
||||
#define PAYDVOUCHERSDIALOG_H
|
||||
|
||||
#include <autotablemodel.h>
|
||||
#include "data/voucher.h"
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
namespace Ui {
|
||||
class PaydVouchersDialog;
|
||||
}
|
||||
|
||||
class PaydVouchersDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit PaydVouchersDialog(QWidget *parent = 0);
|
||||
~PaydVouchersDialog();
|
||||
|
||||
private slots:
|
||||
|
||||
void on_btnPrint_clicked();
|
||||
|
||||
void on_btnSave_clicked();
|
||||
|
||||
private:
|
||||
Ui::PaydVouchersDialog *ui;
|
||||
|
||||
AutoTableModel<Voucher> *m_voucherModel;
|
||||
AutoTableModel<VoucherItem> *m_itemModel;
|
||||
};
|
||||
|
||||
#endif // PAYDVOUCHERSDIALOG_H
|
||||
Reference in New Issue
Block a user