Added support for Value Added Tax.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user