taxtank-core 0.28.74 → 0.28.75

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.
@@ -19050,7 +19050,7 @@
19050
19050
  var _this = this;
19051
19051
  var _a;
19052
19052
  _this = _super.call(this, {
19053
- description: new forms.FormControl(item.description, forms.Validators.required),
19053
+ description: new forms.FormControl(item.description, [forms.Validators.required, forms.Validators.maxLength(SoleInvoiceItemForm.maxDescriptionLength)]),
19054
19054
  quantity: new forms.FormControl(item.quantity, forms.Validators.required),
19055
19055
  price: new forms.FormControl(item.price, forms.Validators.required),
19056
19056
  isGST: new forms.FormControl({ value: item.isGST || false, disabled: !((_a = item.chartAccounts) === null || _a === void 0 ? void 0 : _a.isGST) }),
@@ -19060,6 +19060,7 @@
19060
19060
  }
19061
19061
  return SoleInvoiceItemForm;
19062
19062
  }(AbstractForm));
19063
+ SoleInvoiceItemForm.maxDescriptionLength = 255;
19063
19064
 
19064
19065
  /**
19065
19066
  * Form is divided into two groups, since the creation of Sole invoice takes place in two steps: