Fixed saved voucher recalculation.

closes #278
This commit is contained in:
2017-03-08 14:03:51 +01:00
parent 8fe8f5952e
commit 22faefa558
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -247,6 +247,11 @@ void ShopService::moveItems(QList<VoucherItemPtr> items, VoucherPtr source, Vouc
{
erase(source);
}
else
{
calculate(source);
update(source);
}
tx.commit();
}