taxtank-core 0.29.9 → 0.29.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2230,7 +2230,7 @@
2230
2230
  };
2231
2231
  Object.defineProperty(TransactionBase.prototype, "amountWithGst", {
2232
2232
  get: function () {
2233
- return this.isGST ? +(this.amount * ChartAccounts.GSTCoefficient).toFixed(2) : this.amount;
2233
+ return this.isGST ? +(Math.round(this.amount * ChartAccounts.GSTCoefficient)).toFixed(2) : this.amount;
2234
2234
  },
2235
2235
  enumerable: false,
2236
2236
  configurable: true
@@ -20855,10 +20855,8 @@
20855
20855
  }, controls), transaction) || this;
20856
20856
  _this.registeredForGst = registeredForGst;
20857
20857
  _this.watchChartAccounts();
20858
- if (_this.isGstApplicable()) {
20859
- _this.watchAmountWithGST();
20860
- _this.watchIsGst();
20861
- }
20858
+ _this.watchAmountWithGST();
20859
+ _this.watchIsGst();
20862
20860
  return _this;
20863
20861
  }
20864
20862
  TransactionBaseForm.prototype.watchIsGst = function () {
@@ -21148,6 +21146,11 @@
21148
21146
  });
21149
21147
  return _this;
21150
21148
  }
21149
+ DepreciationForm.prototype.submit = function (data, includeDisabledFields) {
21150
+ if (data === void 0) { data = {}; }
21151
+ if (includeDisabledFields === void 0) { includeDisabledFields = false; }
21152
+ return _super.prototype.submit.call(this, data, true);
21153
+ };
21151
21154
  return DepreciationForm;
21152
21155
  }(TransactionBaseForm));
21153
21156