Merge fix
This commit is contained in:
@@ -106,6 +106,8 @@ void ShopForm::on_saveButton_clicked()
|
||||
|
||||
connect(form, &QDialog::accepted, [this]() {
|
||||
ShopService srv;
|
||||
m_voucher->setStatus(Voucher::NOT_PAID);
|
||||
srv.saveVoucher(m_voucher);
|
||||
m_voucher = srv.createVoucher();
|
||||
m_itemsModel->setData(m_voucher->items());
|
||||
ui->total->setText("0");
|
||||
|
||||
Reference in New Issue
Block a user