Added support for Value Added Tax.
This commit is contained in:
@@ -13,6 +13,9 @@ ShopSettings::ShopSettings(QObject *parent) : QObject(parent)
|
||||
m_favBtnCols = 0;
|
||||
m_favBtnRows = 0;
|
||||
m_favBtnSize = 0;
|
||||
|
||||
m_rounding = Enums::R_NONE;
|
||||
m_decimalPlaces = 0;
|
||||
}
|
||||
|
||||
QString ShopSettings::output() const
|
||||
@@ -164,3 +167,33 @@ void ShopSettings::setFavBtnSize(int favBtnSize)
|
||||
{
|
||||
m_favBtnSize = favBtnSize;
|
||||
}
|
||||
|
||||
Enums::Rounding ShopSettings::rounding() const
|
||||
{
|
||||
return m_rounding;
|
||||
}
|
||||
|
||||
void ShopSettings::setRounding(const Enums::Rounding &rounding)
|
||||
{
|
||||
m_rounding = rounding;
|
||||
}
|
||||
|
||||
int ShopSettings::decimalPlaces() const
|
||||
{
|
||||
return m_decimalPlaces;
|
||||
}
|
||||
|
||||
void ShopSettings::setDecimalPlaces(int decimalPlaces)
|
||||
{
|
||||
m_decimalPlaces = decimalPlaces;
|
||||
}
|
||||
|
||||
QString ShopSettings::roundingItem() const
|
||||
{
|
||||
return m_roundingItem;
|
||||
}
|
||||
|
||||
void ShopSettings::setRoundingItem(const QString &roundingItem)
|
||||
{
|
||||
m_roundingItem = roundingItem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user