public void RefreshLists()
 {
     CostAccountCategoryList          = CostAccountCategories.GetAll().ToSvenTechCollection();
     CostAccountCategoriesHierachical = CostAccountCategoryList.ToHierachicalCollection <CostAccountCategory>()
                                        .ToSvenTechCollection();
     TaxTypeList   = TaxTypes.GetAll().ToSvenTechCollection();
     _CostAccounts = CostAccounts.GetAll().ToSvenTechCollection();
 }
Example #2
0
        public CompanyViewModel()
        {
            if (IsInDesignMode)
            {
                return;
            }

            TaxTypeList       = TaxTypes.GetAll().ToSvenTechCollection();
            SelectedTaxTypeId = 1;
        }
Example #3
0
 private SvenTechCollection <TaxType> LoadTaxTypesFromDb()
 {
     return(TaxTypes.GetAll().ToSvenTechCollection());
 }
Example #4
0
 private void RefreshList()
 {
     TaxTypeList = TaxTypes.GetAll().ToOberservableCollection();
 }