diff --git a/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderDto.cs b/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderDto.cs index 76a4ce4..739d177 100644 --- a/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderDto.cs +++ b/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderDto.cs @@ -10,6 +10,7 @@ namespace Tnsu.ApprovalRoute.Application.Reminders; /// Спрашивать ли у пользователя причину просрочки. Значение уже с применённым /// наследованием (шаг перекрывает тип заявки). /// +/// Статус просроченного шага (ApprovalStatus строки списка «… — согласование»). public sealed record ReminderDto( string Email, int HoursOverdue, @@ -17,4 +18,5 @@ public sealed record ReminderDto( bool AskOverdueReason, int RequestTypeId, string RequestTypeName, - int RequestId); + int RequestId, + string Status); diff --git a/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderService.cs b/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderService.cs index f29ff7c..bc2d28d 100644 --- a/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderService.cs +++ b/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderService.cs @@ -126,7 +126,8 @@ public sealed class ReminderService( row.AskOverdueReason ?? type.AskOverdueReason ?? false, type.Id, type.Name, - row.TicketId)); + row.TicketId, + row.Status)); } return reminders;