Added insert date to voucher items and save date to vouchers. Additional voucher descriptions (name, contact...) are now copied from saved vouchers when load items.

closes #286
This commit is contained in:
2017-03-21 13:30:42 +01:00
parent d4b5ca681c
commit c6e4e5818a
13 changed files with 101 additions and 38 deletions
+10
View File
@@ -127,4 +127,14 @@ void VoucherItem::setVoucher(const QWeakPointer<Voucher> &voucher)
m_voucher = voucher;
}
QDateTime VoucherItem::insertDate() const
{
return m_insertDate;
}
void VoucherItem::setInsertDate(const QDateTime &insertDate)
{
m_insertDate = insertDate;
}