public BudgetCashflowUnitDto(BudgetCashflowTypeModel cashflowType, BudgetCashflowCategoryModel cashflowCategory, BudgetCashflowSubCategoryModel cashflowSubCategory, BudgetCashflowUnitModel cashflowUnit) { CashflowType = cashflowType; CashflowCategory = cashflowCategory; CashflowSubCategory = cashflowSubCategory; CashflowUnit = cashflowUnit; }
public DivisionTemporaryDivisionUnitDto(BudgetCashflowTypeModel cashflowType, CashType type, BudgetCashflowCategoryModel cashflowCategory, BudgetCashflowSubCategoryModel cashflowSubCategory, CurrencyDto currency, DivisionDto division) { CashflowType = cashflowType; Type = type; CashflowCategory = cashflowCategory; CashflowSubCategory = cashflowSubCategory; Currency = currency; Division = division; }
public BudgetCashflowDivisionItemDto(BudgetCashflowTypeModel cashflowType, CashType type, BudgetCashflowCategoryModel cashflowCategory, BudgetCashflowSubCategoryModel cashflowSubCategory, CurrencyDto currency, bool isShowSubCategoryLabel) : this(cashflowType, type) { CashflowType = cashflowType; Type = type; TypeName = type.ToDescriptionString(); CashflowCategory = cashflowCategory; CashflowSubCategory = cashflowSubCategory; Currency = currency; IsSubCategory = true; IsShowSubCategoryLabel = isShowSubCategoryLabel; Items = new List <BudgetCashflowDivisionUnitItemDto>(); }
public DivisionTemporaryDivisionUnitDto(BudgetCashflowTypeModel cashflowType, CashType type, BudgetCashflowCategoryModel cashflowCategory, BudgetCashflowSubCategoryModel cashflowSubCategory, CurrencyDto currency, DivisionDto division, UnitAccountingDto unitAccounting, BudgetCashflowUnitModel cashflowUnit) { CashflowType = cashflowType; Type = type; CashflowCategory = cashflowCategory; CashflowSubCategory = cashflowSubCategory; Currency = currency; Division = division; Unit = new UnitDto { Code = unitAccounting.Code, DivisionId = unitAccounting.DivisionId, Id = unitAccounting.Id, Name = unitAccounting.Name }; CashflowUnit = cashflowUnit; }
public BudgetCashflowMasterDto(BudgetCashflowTypeModel cashflowType, BudgetCashflowCategoryModel cashflowTypeWithCategory, BudgetCashflowSubCategoryModel cashflowCategoryWithSubCategory) { CashflowType = cashflowType.Name; CashflowTypeId = cashflowType.Id; CashflowTypeLayoutOrder = cashflowType.LayoutOrder; if (cashflowTypeWithCategory != null) { CashflowCategoryId = cashflowTypeWithCategory.Id; CashType = cashflowTypeWithCategory.Type.ToDescriptionString(); CashflowCategory = cashflowTypeWithCategory.Name; CashflowCategoryLayoutOrder = cashflowTypeWithCategory.LayoutOrder; } if (cashflowCategoryWithSubCategory != null) { CashflowSubCategoryId = cashflowCategoryWithSubCategory.Id; CashflowSubCategory = cashflowCategoryWithSubCategory.Name; CashflowSubCategoryLayoutOrder = cashflowCategoryWithSubCategory.LayoutOrder; } }
public BudgetCashflowItemDivisionDto(BudgetCashflowCategoryModel cashflowCategory) { IsLabelOnly = true; CashflowCategoryId = cashflowCategory.Id; CashflowCategoryName = cashflowCategory.Name; }
public void SetLabelOnly(BudgetCashflowCategoryModel cashflowCategory) { IsLabelOnly = true; CashflowCategoryId = cashflowCategory.Id; CashflowCategoryName = cashflowCategory.Name; }
public void SetLabelOnly(BudgetCashflowCategoryModel cashflowCategory) { IsLabelOnly = true; CashflowCategory = cashflowCategory; }
public DivisionTemporaryRowDto(BudgetCashflowTypeModel cashflowType, CashType type, BudgetCashflowCategoryModel cashflowCategory, BudgetCashflowSubCategoryModel cashflowSubCategory, CurrencyDto currency) : this(cashflowType, type, cashflowCategory) { Currency = currency; CashflowSubCategory = cashflowSubCategory; }
public DivisionTemporaryRowDto(BudgetCashflowTypeModel cashflowType, CashType type, BudgetCashflowCategoryModel cashflowCategory) : this() { CashflowType = cashflowType; Type = type; CashflowCategory = cashflowCategory; }