public BudgetCashflowDivisionUnitItemDto(DivisionDto division, double divisionCurrencyNominal, double divisionNominal, double divisionActual)
 {
     Division        = division;
     CurrencyNominal = divisionCurrencyNominal;
     Nominal         = divisionNominal;
     Actual          = divisionActual;
 }
 public BudgetCashflowDivisionUnitItemDto(DivisionDto division, UnitDto divisionUnit, double nominal, double currencyNominal, double actual)
 {
     Division        = division;
     Unit            = divisionUnit;
     Nominal         = nominal;
     CurrencyNominal = currencyNominal;
     Actual          = actual;
 }
Beispiel #3
0
 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;
 }
 //isnew for overload ambigue
 public BudgetCashflowDivisionUnitItemDto(DivisionDto division, UnitAccountingDto divisionUnit, double nominal, double currencyNominal, double actual, bool IsNew)
 {
     Division = division;
     Unit     = divisionUnit == null? new UnitDto() : new UnitDto {
         Code       = divisionUnit.Code,
         DivisionId = divisionUnit.DivisionId,
         Id         = divisionUnit.Id,
         Name       = divisionUnit.Name
     };
     Nominal         = nominal;
     CurrencyNominal = currencyNominal;
     Actual          = actual;
 }
Beispiel #5
0
 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;
 }