hotFix_workerTimeControl_reUse_hasToRefill #2049

Merged
alexm merged 4 commits from hotFix_workerTimeControl_reUse_hasToRefill into master 2024-02-20 11:30:25 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 231ebf78d7 - Show all commits

View File

@ -164,7 +164,7 @@ module.exports = Self => {
const sql = ParameterizedSQL.join(stmts, ';');
const days = await conn.executeStmt(sql, myOptions);
console.log(days[index][0]);
let previousWorkerFk = days[index][0].workerFk;
let previousReceiver = days[index][0].receiver;
@ -357,7 +357,7 @@ module.exports = Self => {
previousReceiver = day.receiver;
}
if (tx) await tx.rollback();
if (tx) await tx.commit();
} catch (e) {
const stmts = [];
let stmt;