taxtank-core 0.28.117 → 0.28.118

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.
@@ -21057,7 +21057,7 @@
21057
21057
  function TransactionForm(transaction, registeredForGst, allocations, controls) {
21058
21058
  if (controls === void 0) { controls = {}; }
21059
21059
  var _this = _super.call(this, transaction, registeredForGst, Object.assign(controls, { transactions: new forms.FormArray([]) })) || this;
21060
- _this.setValidators([currentFinYearValidator()]);
21060
+ _this.get('date').addValidators([currentFinYearValidator()]);
21061
21061
  // convert child transactions to controls
21062
21062
  transaction.transactions.map(function (transaction) {
21063
21063
  _this.addTransactionControl(transaction);