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,28 @@
|
||||
#ifndef PAYDIALOG_H
|
||||
#define PAYDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QDecDouble.hh>
|
||||
|
||||
namespace Ui {
|
||||
class PayDialog;
|
||||
}
|
||||
|
||||
class PayDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit PayDialog(QDecDouble total, QWidget *parent = 0);
|
||||
~PayDialog();
|
||||
|
||||
private slots:
|
||||
|
||||
void on_recieved_valueChanged(double value);
|
||||
|
||||
private:
|
||||
Ui::PayDialog *ui;
|
||||
QDecDouble m_total;
|
||||
};
|
||||
|
||||
#endif // PAYDIALOG_H
|
||||
Reference in New Issue
Block a user