예제 #1
0
파일: Tax.cs 프로젝트: kai-liki/Study
        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);
        }
예제 #2
0
 public TaxBasisCalculation(Tax tax, TaxCalculationContext context)
 {
     Tax = tax;
     Context = context;
     CalculationStatus = Status.NotStart;
 }
예제 #3
0
 public LineTaxBasisCalculation(Tax tax, TaxCalculationContext context)
     : base(tax, context)
 {
 }
예제 #4
0
파일: Tax.cs 프로젝트: kai-liki/Study
 public Tax(string code, decimal rate, TaxBasisType basistype, bool isPriceIncl, decimal factor, TaxCalculationContext context)
     : this(code, rate, basistype, isPriceIncl, factor, string.Empty, context)
 {
 }