Fixed bug in saving voucher.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user