public BudgetCashflowDivisionItemDto(BudgetCashflowTypeModel cashflowType, CurrencyDto currency, bool isShowDifferenceLabel) : this(cashflowType) { IsDifference = true; IsShowDifferenceLabel = isShowDifferenceLabel; DifferenceLabel = $"Surplus/Deficit-Kas dari {cashflowType.Name}"; Currency = currency; }
public BudgetCashflowUnitDto(BudgetCashflowTypeModel cashflowType, BudgetCashflowCategoryModel cashflowCategory, BudgetCashflowSubCategoryModel cashflowSubCategory, BudgetCashflowUnitModel cashflowUnit) { CashflowType = cashflowType; CashflowCategory = cashflowCategory; CashflowSubCategory = cashflowSubCategory; CashflowUnit = cashflowUnit; }
public BudgetCashflowDivisionItemDto(BudgetCashflowTypeModel cashflowType, CashType type, CurrencyDto currency, bool isShowSummaryLabel) { CashflowType = cashflowType; Type = type; SummaryLabel = type == CashType.In ? $"Total Penerimaan {cashflowType.Name}" : $"Total Pengeluaran {cashflowType.Name}"; Currency = currency; IsSummary = true; IsShowSummaryLabel = isShowSummaryLabel; }
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 void SetCashflowType(BudgetCashflowTypeModel cashflowType) { CashflowType = cashflowType; }
public BudgetCashflowDivisionItemDto(BudgetCashflowTypeModel cashflowType) { CashflowType = cashflowType; }
public BudgetCashflowDivisionItemDto(BudgetCashflowTypeModel cashflowType, CashType type) : this(cashflowType) { Type = type; }
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; }