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:
@@ -28,6 +28,7 @@ void ShopService::addShopItem(VoucherPtr voucher, QSharedPointer<IShopItem> item
|
||||
vItem->setRefId(item->id());
|
||||
vItem->setItemPlugin(item->pluginId());
|
||||
vItem->setVatType(item->vatType());
|
||||
vItem->setInsertDate(QDateTime::currentDateTime());
|
||||
|
||||
voucher->addItem(vItem);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user