Fixed bug in saving voucher.

print
Josef Rokos 8 years ago
parent 16fedf3592
commit d4b5ca681c

@ -140,7 +140,7 @@ void ShopForm::on_saveButton_clicked()
if (form->saveAsNew())
{
m_voucher->setStatus(Voucher::NOT_PAID);
srv.saveVoucher(m_voucher);
srv.updateVoucher(m_voucher);
createEmptyVoucher();
}
else

Loading…
Cancel
Save