Added edit and pay functionality to camp module.

This commit is contained in:
2017-06-07 15:57:15 +02:00
parent d163a92293
commit 8b99eea25a
13 changed files with 347 additions and 11 deletions
+11
View File
@@ -9,6 +9,7 @@ CampData::CampData(QObject *parent) : QObject(parent)
m_totalSale = 0;
m_fixedSale = false;
m_fullPrice = 0;
m_onVoucher = false;
}
int CampData::id() const
@@ -180,3 +181,13 @@ void CampData::setFullPrice(QDecDouble fullPrice)
{
m_fullPrice = FROM_DEC(fullPrice);
}
bool CampData::onVoucher() const
{
return m_onVoucher;
}
void CampData::setOnVoucher(bool onVoucher)
{
m_onVoucher = onVoucher;
}