Merged in feature/IO-2389-Add-Metadata-of-Transaction-Wip (pull request #953)

IO-2389 Metadata to ExportLog
This commit is contained in:
Allan Carr
2023-08-25 18:05:01 +00:00

View File

@@ -643,6 +643,7 @@ async function InsertAccountPostingData(socket) {
wips.push(item); wips.push(item);
}); });
socket.transWips = wips;
const { data: AccountPostingChange } = await axios.post( const { data: AccountPostingChange } = await axios.post(
PBS_ENDPOINTS.AccountingPostingChange, PBS_ENDPOINTS.AccountingPostingChange,
@@ -697,6 +698,7 @@ async function MarkJobExported(socket, jobid) {
jobid: jobid, jobid: jobid,
successful: true, successful: true,
useremail: socket.user.email, useremail: socket.user.email,
metadata: socket.transWips,
}, },
bill: { bill: {
exported: true, exported: true,