Пример #1
0
 public BADSSheet(TDocs.AccountsView acctInfo)
 {
     InitializeComponent();
     accountInfo = acctInfo;
     getContactData(acctInfo.bankID_pk);
     getRulesData(acctInfo.accountNumber);
     populateAccountInfo();
 }
Пример #2
0
 public void InitCon(TDocs indoc, ClientBrief target)
 {
     if (indoc == null)
     {
         return;
     }
     tdoc         = indoc;
     TargetClient = target;
     updateCon();
 }
Пример #3
0
        public BADSSheet(TDocs.BADSInfo badsInfo)
        {
            InitializeComponent();

            getRulesData(badsInfo.accountNumber);
            bankLabel.Content = badsInfo.name;
            entityLabel.Content = badsInfo.entityName;
            accountTypeLabel.Content = badsInfo.description;
            streetLabel.Content = badsInfo.street1;
            string cityLabelText = "";
            if (badsInfo.city != null && badsInfo.city != "")
                cityLabelText += badsInfo.city;
            if (badsInfo.state != null && badsInfo.state != "")
                cityLabelText += ", " + badsInfo.state;
            if (badsInfo.zip != null && badsInfo.state != "")
                cityLabelText += " " + badsInfo.zip.ToString();
            if (badsInfo.street2 == null || badsInfo.street2 == "")
                secondStreetLabel.Content = cityLabelText;
            else
            {
                secondStreetLabel.Content = badsInfo.street2;
                cityLabel.Content = cityLabelText;
            }
            phoneLabel.Content = "Phone Number: " + badsInfo.phone;
            faxLabel.Content = "Fax Number: " + badsInfo.fax;
            emailLabel.Content = "Email Address: " + badsInfo.email;

            contactNameLabel.Content = badsInfo.firstname + " " + badsInfo.lastname;
            currencyLabel.Content = badsInfo.currencyCode;
            accountNumberLabel.Content = badsInfo.accountNumber;
            accountTitleLabel.Content = badsInfo.accountName;
            accountOpenedLabel.Content = badsInfo.opened_date;
            accountClosedLabel.Content = badsInfo.closed_date;
            changeDateLabel.Content = badsInfo.modifieddate;
            taxIdLabel.Content = badsInfo.taxID;
            accountStatementLabel.Content = badsInfo.acstatement;
            zbaLabel.Content = badsInfo.zba;
            notesLabel.Text = badsInfo.notes;
        }
Пример #4
0
 public void InitCon(TDocs indoc)
 {
     InitCon(indoc, new ClientBrief(null, GlobalVar.LocalPath));
 }
Пример #5
0
 public ResultItemCon(TDocs indoc, ClientBrief target)
     : this(indoc)
 {
     InitCon(indoc, target);
 }
Пример #6
0
 public ResultItemCon(TDocs indoc)
     : this()
 {
     InitCon(indoc);
 }
Пример #7
0
 public ResultItemCon()
 {
     tdoc = null;
     InitializeComponent();
 }
Пример #8
0
 public BADSSheet(TDocs.AccountsView info, List<TDocs.Contacts> contacts, Dictionary<int, List<string>> entitlements,
     Dictionary<int, String> groups, Dictionary<int, List<string>> signers, Size printableArea, Thickness margins)
 {
     InitializeComponent();
     accountInfo = info;
     _contacts = contacts;
     allEntitlements = entitlements;
     allSigners = signers;
     entitlementGroups = groups;
     populateAccountInfo();
     populateContactView();
     populateRulesView();
     printLength = printableArea.Height;
     printWidth = printableArea.Width;
     PrintButton.Visibility = System.Windows.Visibility.Collapsed;
     Scroller.VerticalScrollBarVisibility = ScrollBarVisibility.Hidden;
     setupPrintingPages();
 }