use path to save json file (sales)
This commit is contained in:
parent
be1d731de3
commit
0967a01994
3 changed files with 6 additions and 4 deletions
|
@ -425,7 +425,9 @@ void MainWindow::onExportSalesJsonActionTriggered()
|
|||
if (filename.isEmpty())
|
||||
return;
|
||||
|
||||
JsonUtil::exportSales(filename.toStdString(), marketplace_.get(),
|
||||
std::filesystem::path filePath(filename.toStdWString());
|
||||
|
||||
JsonUtil::exportSales(filePath, marketplace_.get(),
|
||||
settings.value("global/cashPointNo").toInt());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue