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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user