Added pay voucher feature. Added dialog with paied vouchers. Added
support for printing receipts on POS printer.
This commit is contained in:
@@ -210,6 +210,26 @@ QDecDouble Voucher::VatAmountSecondLower()
|
||||
return TO_DEC(m_totalPriceVatSecondLower) - TO_DEC(m_priceVatSecondLower);
|
||||
}
|
||||
|
||||
QString Voucher::numSer() const
|
||||
{
|
||||
return m_numSer;
|
||||
}
|
||||
|
||||
void Voucher::setNumSer(const QString &numSer)
|
||||
{
|
||||
m_numSer = numSer;
|
||||
}
|
||||
|
||||
QDateTime Voucher::payDateTime() const
|
||||
{
|
||||
return m_payDateTime;
|
||||
}
|
||||
|
||||
void Voucher::setPayDateTime(const QDateTime &payDateTime)
|
||||
{
|
||||
m_payDateTime = payDateTime;
|
||||
}
|
||||
|
||||
int Voucher::id() const
|
||||
{
|
||||
return m_id;
|
||||
|
||||
Reference in New Issue
Block a user