Пример #1
0
        string[] GetAttributesForm406Array(KlikoInfo inf)
        {
            var arr = new string[] { inf.Filial, inf.PostDate.ToStr(1), inf.OperKind.ToString(),
                                     inf.Notice40, inf.Ccy,
                                     inf.AmountTo.ToStr(), inf.AmountFrom.ToStr(),
                                     inf.BicBank, inf.Swift, inf.SwiftFil, inf.CountryBank406,
                                     inf.NameRez, inf.AddCode10, inf.INN, inf.KindRez, inf.NameNerez,
                                     inf.CountryNerez, inf.KindNerez, inf.KindContract, inf.TypeContract, inf.Notice15,
                                     inf.Notice16, inf.NoticeOther };

            return(arr);
        }
Пример #2
0
        string[] GetAttributesForm405Array(KlikoInfo inf)
        {
            var list = new List <string> {
                inf.Filial, inf.PostDate.ToStr(1), inf.CodeVO, inf.TypeTooling,
                inf.OperType.ToString(), inf.DirectionPay, inf.Count.ToString(),
                inf.Share.ToStr("0"), inf.Ccy, inf.AmountAll.ToStr(),
                inf.AmntIncome.ToStr(), inf.BicPartner, inf.CountryRez,
                inf.Swift, inf.SwiftFil, inf.NameRez, inf.TypeRez, inf.INN, inf.NameNerez,
                inf.TypeNerez, inf.CountryNerez, inf.IssuerName, inf.SecurityCode, inf.RegNumIssuer,
                inf.DateRegIssuer.ToStr(1), inf.RepayDate.ToStr(1), inf.CcyIssuer,
                inf.IssuerCode.ToString(), inf.IssuerReestr,
                inf.Notice, inf.NoticeIssuer, inf.NoticeExchange, inf.NoticeInst, inf.NoticeProperty,
                inf.NoticeBank, inf.BankName, inf.CountryBank, inf.CountryPartner
            };

            if (inf.Section[0] == '1')
            {
                list.Add(inf.ValueDate.ToStr(1));
            }

            return(list.ToArray());
        }