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
+12
View File
@@ -7,6 +7,8 @@ GlobalSettings::GlobalSettings(QObject *parent) : QObject(parent)
m_vatHigh = 0;
m_vatFirstLower = 0;
m_vatSecondLower = 0;
m_vatPayer = false;
m_pricesWithVAT = true;
}
QString GlobalSettings::firmName() const
@@ -156,5 +158,15 @@ void GlobalSettings::setPhone(const QString &phone)
m_phone = phone;
}
bool GlobalSettings::pricesWithVAT() const
{
return m_pricesWithVAT;
}
void GlobalSettings::setPricesWithVAT(bool pricesWithVAT)
{
m_pricesWithVAT = pricesWithVAT;
}