taxtank-core 0.29.34 → 0.29.35
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.
|
@@ -20077,10 +20077,10 @@
|
|
|
20077
20077
|
function ClientIncomeTypesForm(clientIncomeTypes) {
|
|
20078
20078
|
if (clientIncomeTypes === void 0) { clientIncomeTypes = classTransformer.plainToClass(ClientIncomeTypes, {}); }
|
|
20079
20079
|
var _this = _super.call(this, {
|
|
20080
|
-
work: new forms.FormControl(clientIncomeTypes.work),
|
|
20081
|
-
property: new forms.FormControl(clientIncomeTypes.property),
|
|
20082
|
-
sole: new forms.FormControl(clientIncomeTypes.sole),
|
|
20083
|
-
holdings: new forms.FormControl({ value: clientIncomeTypes.holdings, disabled: true })
|
|
20080
|
+
work: new forms.FormControl(clientIncomeTypes.work || false),
|
|
20081
|
+
property: new forms.FormControl(clientIncomeTypes.property || false),
|
|
20082
|
+
sole: new forms.FormControl(clientIncomeTypes.sole || false),
|
|
20083
|
+
holdings: new forms.FormControl({ value: clientIncomeTypes.holdings || false, disabled: true })
|
|
20084
20084
|
}, clientIncomeTypes, atLeastOneCheckedValidator()) || this;
|
|
20085
20085
|
_this.clientIncomeTypes = clientIncomeTypes;
|
|
20086
20086
|
return _this;
|