мердж

This commit is contained in:
gorbenko.pavel
2026-08-05 14:08:10 +05:00
19 changed files with 427 additions and 147 deletions
@@ -189,7 +189,9 @@ async function indexApprovalsForType(
.top(2000)) {
allRows.push(...(p as Array<Record<string, unknown>>));
}
stepRows = allRows.filter((r) => r.Status === REQUEST_STATUS.onApproval);
stepRows = allRows.filter(
(r) => r.Status === REQUEST_STATUS.onApproval || r.Status === REQUEST_STATUS.onExecution
);
console.log(
`[Текущие заявки] «${type.name}»: список согласования «${approvalListTitle}», approver.Id=${approver.Id}, scope=myTurn, строк по ApproverId: ${allRows.length}, после фильтра по статусу: ${stepRows.length}`
);