calculateDriveOffTaxes() {
    let taxableAmount;
    if (this.taxMethod === TAX_ON_MONTHLY_PAYMENT) {
      taxableAmount = this.downPayment + this.totalFees;
    } else if (this.taxMethod === TAX_ON_SALES_PRICE) {
      taxableAmount = this.sellingPrice;
    } else if (this.taxMethod === TAX_ON_TOTAL_LEASE_PAYMENT) {
      taxableAmount =
        this.monthlyPaymentPreTax +
        this.downPayment +
        this.totalFees +
        this.getAcquisitionFee();
    }

    // return taxableAmount * (1 + this.salesTax / 100);
    return taxableAmount * (this.salesTax / 100);
  }
/*
    Calculates the drive-off tax based on method of taxation
    Returns: Number
  */
Calculates the drive-off tax based on method of taxation
Returns: Number
Calculates the drive - off tax based on method of taxation Returns : Number
calculateDriveOffTaxes() {
    let taxableAmount;
    if (this.taxMethod === TAX_ON_MONTHLY_PAYMENT) {
      taxableAmount = this.downPayment + this.totalFees;
    } else if (this.taxMethod === TAX_ON_SALES_PRICE) {
      taxableAmount = this.sellingPrice;
    } else if (this.taxMethod === TAX_ON_TOTAL_LEASE_PAYMENT) {
      taxableAmount =
        this.monthlyPaymentPreTax +
        this.downPayment +
        this.totalFees +
        this.getAcquisitionFee();
    }
    return taxableAmount * (this.salesTax / 100);
  }
calculateDriveOffTaxes ( ) { let taxableAmount ; if ( this . taxMethod === TAX_ON_MONTHLY_PAYMENT ) { taxableAmount = this . downPayment + this . totalFees ; } else if ( this . taxMethod === TAX_ON_SALES_PRICE ) { taxableAmount = this . sellingPrice ; } else if ( this . taxMethod === TAX_ON_TOTAL_LEASE_PAYMENT ) { taxableAmount = this . monthlyPaymentPreTax + this . downPayment + this . totalFees + this . getAcquisitionFee ( ) ; } return taxableAmount * ( this . salesTax / 100 ) ; }
Calculates the drive-off tax based on method of taxation
Returns: Number
Calculates the drive - off tax based on method of taxation Returns : Number
// return taxableAmount * (1 + this.salesTax / 100);