add cancel invoice action

This commit is contained in:
Dzmitry_Tamashevich@epam.com
2020-10-29 12:20:49 +03:00
committed by Daniel Hutzel
parent 52f00c62b7
commit a319199e10
5 changed files with 48 additions and 17 deletions

View File

@@ -126,14 +126,6 @@ const logProcessArgs = () => {
password: "some",
}));
}
// for mock invoice data
if (srcEntityName === "Invoices") {
columns.push("status");
srcResultRows = srcResultRows.map((row) => ({
...row,
status: getRandomInt(-1, 2),
}));
}
const transaction = await targetStorage.tx();
await transaction.run(