From 1eb3ef11e78304180a2fb9c976a8d59a69e7a118 Mon Sep 17 00:00:00 2001 From: Dmitriy_Kravchenko Date: Thu, 24 Sep 2026 09:39:17 +0300 Subject: [PATCH] Update executorNotification to include executor comments and adjust new deadline label for clarity --- src/reports/overdue/executorNotification.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/reports/overdue/executorNotification.ts b/src/reports/overdue/executorNotification.ts index 922ff1e..a88fdc0 100644 --- a/src/reports/overdue/executorNotification.ts +++ b/src/reports/overdue/executorNotification.ts @@ -40,7 +40,8 @@ export function distributeOverdueTasksToExecutors(): void { NEED_REASON: 'Задача, требующая описания причины при переносе сроков', OLD_REASON: 'Прошлые причины переноса', NEW_REASON: 'Текущая причина переноса', - NEW_DEADLINE: 'Новый крайний срок от менеджера' + EXECUTOR_COMMENT: 'Комментарий Исполнителя: условия, которые гарантируют выполнение задачи в запрашиваемый новый крайний срок', + NEW_DEADLINE: 'Новый крайний срок от исполнителя' }; const executorTasks: Record = {}; @@ -72,6 +73,7 @@ export function distributeOverdueTasksToExecutors(): void { row[col[REPORT.NEED_REASON]], row[col[REPORT.OLD_REASON]], row[col[REPORT.NEW_REASON]], + row[col[REPORT.EXECUTOR_COMMENT]], row[col[REPORT.NEW_DEADLINE]] ]); } @@ -81,7 +83,7 @@ export function distributeOverdueTasksToExecutors(): void { REPORT.PARENT_TASK_NAME, taskCodeDecodeHeader(REPORT.PARENT_TASK_NAME), REPORT.CRM, REPORT.CREATOR, REPORT.EXECUTOR, REPORT.CREATED, REPORT.DEADLINE, REPORT.LOSS_CLIENT, REPORT.PRICE, REPORT.TRANSFER_COUNT, REPORT.NEED_REASON, - REPORT.OLD_REASON, REPORT.NEW_REASON, REPORT.NEW_DEADLINE + REPORT.OLD_REASON, REPORT.NEW_REASON, REPORT.EXECUTOR_COMMENT, REPORT.NEW_DEADLINE ]; const today = new Date();