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.
- package/bundles/taxtank-core.umd.js +2 -1
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/forms/sole/sole-invoice-item.form.js +3 -2
- package/fesm2015/taxtank-core.js +2 -1
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/forms/sole/sole-invoice-item.form.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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:
|