Пример #1
0
        public void FundRequestsList()
        {
            var dir = SampleDir.May19_GRY();
            var sut = new FundReqsListVM(dir);

            sut.ReloadFromDB();
            sut.ItemsList.Count.Should().Be(17);
            sut.TotalSum.Should().Be(501_380.77M);
        }
Пример #2
0
        public VoucherReqsTabVM(MainWindowVM mainWindowVM)
        {
            var dir = mainWindowVM.AppArgs;

            _printr         = new VouchersListPrintTrigger(mainWindowVM);
            FundRequests    = new FundReqsListVM(dir);
            PreparedCheques = new PreparedChequesListVM(dir, this);
            IssuedCheques   = new IssuedChequesListVM(dir);
        }