Пример #1
0
        protected void OnButtonCloseClicked(object sender, EventArgs e)
        {
            var expense = UoW.GetById <Expense>(representationUnclosed.GetSelectedId());

            var dlg = new AdvanceReportDlg(expense, PermissionsSettings.PermissionService);

            OpenNewTab(dlg);
        }
Пример #2
0
        protected void OnButtonAdvanceReportClicked(object sender, EventArgs e)
        {
            var accountable = UoW.GetById<Employee> (representationtreeviewDebts.GetSelectedId ());
            var category = accountabledebtsfilter1.RestrictExpenseCategory;
            decimal money = representationtreeviewDebts.GetSelectedObject<AccountableDebtsVMNode> ().Debt;

            var dlg = new AdvanceReportDlg (accountable, category, money);
            OpenNewTab (dlg);
        }
Пример #3
0
        protected void OnButtonAdvanceReportClicked(object sender, EventArgs e)
        {
            var     accountable = UoW.GetById <Employee> (representationtreeviewDebts.GetSelectedId());
            var     category    = accountabledebtsfilter1.RestrictExpenseCategory;
            decimal money       = representationtreeviewDebts.GetSelectedObject <AccountableDebtsVMNode> ().Debt;

            var dlg = new AdvanceReportDlg(accountable, category, money);

            OpenNewTab(dlg);
        }