Added setting for bill double printing.
This commit is contained in:
@@ -16,6 +16,8 @@ ShopSettings::ShopSettings(QObject *parent) : QObject(parent)
|
||||
|
||||
m_rounding = Enums::R_NONE;
|
||||
m_decimalPlaces = 0;
|
||||
|
||||
m_doublePrint = false;
|
||||
}
|
||||
|
||||
QString ShopSettings::output() const
|
||||
@@ -197,3 +199,23 @@ void ShopSettings::setRoundingItem(const QString &roundingItem)
|
||||
{
|
||||
m_roundingItem = roundingItem;
|
||||
}
|
||||
|
||||
bool ShopSettings::doublePrint() const
|
||||
{
|
||||
return m_doublePrint;
|
||||
}
|
||||
|
||||
void ShopSettings::setDoublePrint(bool doublePrint)
|
||||
{
|
||||
m_doublePrint = doublePrint;
|
||||
}
|
||||
|
||||
QString ShopSettings::doublePrintItem() const
|
||||
{
|
||||
return m_doublePrintItem;
|
||||
}
|
||||
|
||||
void ShopSettings::setDoublePrintItem(const QString &doublePrintItem)
|
||||
{
|
||||
m_doublePrintItem = doublePrintItem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user