Added support for Value Added Tax.

This commit is contained in:
2017-10-13 12:58:26 +02:00
parent 8e7137f3bb
commit b8ed333c3a
14 changed files with 665 additions and 34 deletions
+33
View File
@@ -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;
}