UniversalTransferDocumentSharedFunctions.cs
1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using Sungero.FinancialArchive.UniversalTransferDocument;
namespace Sungero.FinancialArchive.Shared
{
partial class UniversalTransferDocumentFunctions
{
/// <summary>
/// Определить ответственного за документ.
/// </summary>
/// <returns>Ответственный за документ.</returns>
public override Sungero.Company.IEmployee GetDocumentResponsibleEmployee()
{
if (_obj.ResponsibleEmployee != null)
return _obj.ResponsibleEmployee;
return base.GetDocumentResponsibleEmployee();
}
/// <summary>
/// Получить список адресатов с электронной почтой для отправки вложением в письмо.
/// </summary>
/// <returns>Список адресатов.</returns>
[Public]
public override List<Sungero.Docflow.Structures.OfficialDocument.IEmailAddressee> GetEmailAddressees()
{
return Functions.Module.GetEmailAddressees(_obj);
}
[Public]
public override bool IsVerificationModeSupported()
{
return true;
}
}
}