public override FlowDocument GetDetails(State.Linked.LinkedAccount account)
        {
            var result = new FlowTableCreator(true);

            result.SetHeaders(new string[] { "Wisa", "Smartschool" });

            result.AddRow(new List <string>()
            {
                "Woonplaats", account.Wisa.Account.City, account.Smartschool.Account.City
            });
            result.AddRow(new List <string>()
            {
                "PostCode", account.Wisa.Account.PostalCode, account.Smartschool.Account.PostalCode
            });
            result.AddRow(new List <string>()
            {
                "Straat", account.Wisa.Account.Street, account.Smartschool.Account.Street
            });
            result.AddRow(new List <string>()
            {
                "Huisnummer", account.Wisa.Account.HouseNumber, account.Smartschool.Account.HouseNumber
            });
            result.AddRow(new List <string>()
            {
                "Busnummer", account.Wisa.Account.HouseNumberAdd, account.Smartschool.Account.HouseNumberAdd
            });

            FlowDocument document = new FlowDocument();

            document.Blocks.Add(result.Create());

            return(document);
        }
Exemple #2
0
        public override FlowDocument GetDetails(LinkedGroup group)
        {
            var result = new FlowTableCreator(true);

            result.SetHeaders(new string[] { "Wisa", "Smartschool" });

            result.AddRow(new List <string>()
            {
                "Instituut", group.Wisa.Group.SchoolCode, group.Smartschool.Group.InstituteNumber
            });
            result.AddRow(new List <string>()
            {
                "Untis Code", group.Smartschool.Group.Name, group.Smartschool.Group.Untis
            });
            result.AddRow(new List <string>()
            {
                "Beschrijving", group.Wisa.Group.Description, group.Smartschool.Group.Description
            });

            FlowDocument document = new FlowDocument();

            document.Blocks.Add(result.Create());

            return(document);
        }
Exemple #3
0
        public override FlowDocument GetDetails(LinkedAccount account)
        {
            var result = new FlowTableCreator(true);

            result.SetHeaders(new string[] { "Active Directory", "Smartschool" });

            result.AddRow(new List <string>()
            {
                "Email", account.Directory.Account.PrincipalName, account.Smartschool.Account.Mail
            });

            FlowDocument document = new FlowDocument();

            document.Blocks.Add(result.Create());

            return(document);
        }
Exemple #4
0
        public override FlowDocument GetDetails(LinkedStaffMember account)
        {
            var result = new FlowTableCreator(false);

            result.SetHeaders(new string[] { "Wisa", "Directory", "Smartschool" });

            result.AddRow(new List <string>()
            {
                "Wisa ID", account.Wisa.Account.CODE, account.Directory.Account.WisaID, account.Smartschool.Account.AccountID
            });

            FlowDocument document = new FlowDocument();

            document.Blocks.Add(result.Create());

            return(document);
        }
Exemple #5
0
        public override FlowDocument GetDetails(State.Linked.LinkedAccount account)
        {
            var result = new FlowTableCreator(true);

            result.SetHeaders(new string[] { "Wisa", "Smartschool" });

            result.AddRow(new List <string>()
            {
                "ID", account.Wisa.Account.WisaID, account.Smartschool.Account.AccountID
            });

            FlowDocument document = new FlowDocument();

            document.Blocks.Add(result.Create());

            return(document);
        }
Exemple #6
0
        public override FlowDocument GetDetails(LinkedAccount account)
        {
            var result = new FlowTableCreator(false);

            result.SetHeaders(new string[] { "Veld", "Waarde" });
            result.AddRow(new List <string>()
            {
                "Mail", account.Directory.Account.Mail
            });
            result.AddRow(new List <string>()
            {
                "UserPrincipalName", account.Directory.Account.PrincipalName
            });

            FlowDocument document = new FlowDocument();

            document.Blocks.Add(result.Create());

            return(document);
        }