public Tax(string code, decimal rate, TaxBasisType basistype, bool isPriceIncl, decimal factor, string formula, TaxCalculationContext context) { TaxCode = code; TaxRate = rate; TaxBasisType = basistype; IsPriceInclTax = isPriceIncl; Factor = factor; CalculationFormula = formula; context.Taxs[TaxCode] = this; Context = context; Calculation = this.CreateTaxBasisCalculation(TaxBasisType); }
public TaxBasisCalculation(Tax tax, TaxCalculationContext context) { Tax = tax; Context = context; CalculationStatus = Status.NotStart; }
public LineTaxBasisCalculation(Tax tax, TaxCalculationContext context) : base(tax, context) { }
public Tax(string code, decimal rate, TaxBasisType basistype, bool isPriceIncl, decimal factor, TaxCalculationContext context) : this(code, rate, basistype, isPriceIncl, factor, string.Empty, context) { }