add customer restriction when browsing invoices
This commit is contained in:
committed by
Daniel Hutzel
parent
a319199e10
commit
bcfce87276
@@ -126,6 +126,13 @@ const logProcessArgs = () => {
|
||||
password: "some",
|
||||
}));
|
||||
}
|
||||
if (srcEntityName === "Invoices") {
|
||||
columns.push("status");
|
||||
srcResultRows = srcResultRows.map((row) => ({
|
||||
...row,
|
||||
status: 2,
|
||||
}));
|
||||
}
|
||||
|
||||
const transaction = await targetStorage.tx();
|
||||
await transaction.run(
|
||||
|
||||
Reference in New Issue
Block a user