@forwardslashns/taskit-validation-messages 1.10.41 → 1.10.42
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/dist/validation/features/client-templates.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/template-information.validation-messages.d.ts +6 -0
- package/dist/validation/features/template-information.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/template-information.validation-messages.js +30 -24
- package/dist/validation/validation-messages.d.ts +6 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/client-templates.validation-messages.ts +6 -3
- package/src/validation/features/template-information.validation-messages.ts +31 -24
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-templates.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-templates.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"client-templates.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-templates.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0L3B,CAAC"}
|
|
@@ -206,6 +206,12 @@ export declare const TEMPLATE_INFORMATION: {
|
|
|
206
206
|
params: string[];
|
|
207
207
|
affectedFields: string[];
|
|
208
208
|
};
|
|
209
|
+
PARENT_FILING_CANNOT_FILE_UNDER_PARENT: {
|
|
210
|
+
severity: "error";
|
|
211
|
+
message: string;
|
|
212
|
+
params: string[];
|
|
213
|
+
affectedFields: string[];
|
|
214
|
+
};
|
|
209
215
|
TAX_PAYMENT_FILING_REQUIRED: {
|
|
210
216
|
severity: "error";
|
|
211
217
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-information.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-information.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"template-information.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-information.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4V/B,CAAC"}
|
|
@@ -136,20 +136,20 @@ exports.TEMPLATE_INFORMATION = (0, validation_message_types_1.defineValidationFe
|
|
|
136
136
|
},
|
|
137
137
|
STATE_MISMATCH_WITH_ASSOCIATED_SUB_ENTITY_FILINGS: {
|
|
138
138
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
139
|
-
message: 'This template is linked to sub-entity filing templates that are set to {
|
|
140
|
-
params: ['
|
|
139
|
+
message: 'This template is linked to sub-entity filing templates that are set to {subEntityTemplateState} state, which conflicts with the selected state. Please update the state before saving.',
|
|
140
|
+
params: ['subEntityTemplateState'],
|
|
141
141
|
affectedFields: ['state'],
|
|
142
142
|
},
|
|
143
143
|
STATE_MISMATCH_WITH_ASSOCIATED_TAX_PAYMENTS: {
|
|
144
144
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
145
|
-
message: 'This template has associated tax payments that are set to {
|
|
146
|
-
params: ['
|
|
145
|
+
message: 'This template has associated tax payments that are set to {taxPaymentTemplateState} state, which conflicts with the selected state. Please update the state before saving.',
|
|
146
|
+
params: ['taxPaymentTemplateState'],
|
|
147
147
|
affectedFields: ['state'],
|
|
148
148
|
},
|
|
149
149
|
STATE_MISMATCH_WITH_PARENT_FILING: {
|
|
150
150
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
151
|
-
message: 'This template is filing under a parent that is set to {
|
|
152
|
-
params: ['
|
|
151
|
+
message: 'This template is filing under a parent that is set to {parentFilingTemplateState}, which conflicts with the selected state. Please update the state before saving.',
|
|
152
|
+
params: ['parentFilingTemplateState'],
|
|
153
153
|
affectedFields: ['state'],
|
|
154
154
|
},
|
|
155
155
|
FILING_STATUS_REQUIRED: {
|
|
@@ -206,8 +206,14 @@ exports.TEMPLATE_INFORMATION = (0, validation_message_types_1.defineValidationFe
|
|
|
206
206
|
},
|
|
207
207
|
FILES_UNDER_PARENT_STATE_MISMATCH: {
|
|
208
208
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
209
|
-
message: "{
|
|
210
|
-
params: ['
|
|
209
|
+
message: "{parentFilingTemplateName} is set to {parentFilingState} state, which conflicts with this filing template's state. Please select a different parent template or update the state before saving.",
|
|
210
|
+
params: ['parentFilingTemplateName', 'parentFilingState'],
|
|
211
|
+
affectedFields: ['filesUnder'],
|
|
212
|
+
},
|
|
213
|
+
PARENT_FILING_CANNOT_FILE_UNDER_PARENT: {
|
|
214
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
215
|
+
message: "{parentFilingTemplateName} is set as 'Filing under parent' and cannot be a parent template. Please select a different parent template.",
|
|
216
|
+
params: ['parentFilingTemplateName'],
|
|
211
217
|
affectedFields: ['filesUnder'],
|
|
212
218
|
},
|
|
213
219
|
TAX_PAYMENT_FILING_REQUIRED: {
|
|
@@ -227,32 +233,32 @@ exports.TEMPLATE_INFORMATION = (0, validation_message_types_1.defineValidationFe
|
|
|
227
233
|
},
|
|
228
234
|
TAX_PAYMENT_FILING_MUST_HAVE_ANNUAL_RECURRENCE: {
|
|
229
235
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
230
|
-
message: 'Tax payments can only be associated with filings on an annual recurrence. {
|
|
231
|
-
params: ['
|
|
236
|
+
message: 'Tax payments can only be associated with filings on an annual recurrence. {filingTemplateName} is not set to recur annually. Please add an annual recurrence to {filingTemplateName}, or select a different filing template.',
|
|
237
|
+
params: ['filingTemplateName'],
|
|
232
238
|
affectedFields: ['taxPaymentFiling'],
|
|
233
239
|
},
|
|
234
240
|
TAX_PAYMENT_FILING_MUST_BE_INCOME_TAX: {
|
|
235
241
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
236
|
-
message: 'A tax payment must be associated with an income tax filing. {
|
|
237
|
-
params: ['
|
|
242
|
+
message: 'A tax payment must be associated with an income tax filing. {filingTemplateName} is set to {filingTemplateFilingType}. Please select a filing template with filing type set to income tax.',
|
|
243
|
+
params: ['filingTemplateName', 'filingTemplateFilingType'],
|
|
238
244
|
affectedFields: ['taxPaymentFiling'],
|
|
239
245
|
},
|
|
240
246
|
TAX_PAYMENT_FILING_STATE_MISMATCH: {
|
|
241
247
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
242
|
-
message: "{
|
|
243
|
-
params: ['
|
|
248
|
+
message: "{filingTemplateName} is set to {filingTemplateState}, which conflicts with this template's state. Please select a different filing template or update the state before saving.",
|
|
249
|
+
params: ['filingTemplateName', 'filingTemplateState'],
|
|
244
250
|
affectedFields: ['taxPaymentFiling'],
|
|
245
251
|
},
|
|
246
252
|
TAX_PAYMENT_FILING_MUST_FILE_SEPARATELY: {
|
|
247
253
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
248
|
-
message: "Tax payments can only be associated with filings that file separately. {
|
|
249
|
-
params: ['
|
|
254
|
+
message: "Tax payments can only be associated with filings that file separately. {filingTemplateName} is set as 'Filing under parent'. Please select a different filing template.",
|
|
255
|
+
params: ['filingTemplateName'],
|
|
250
256
|
affectedFields: ['taxPaymentFiling'],
|
|
251
257
|
},
|
|
252
258
|
TAX_PAYMENT_FILING_ASSOCIATED_ENTITIES_MISMATCH: {
|
|
253
259
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
254
|
-
message: "{
|
|
255
|
-
params: ['
|
|
260
|
+
message: "{filingTemplateName} is set to {filingTemplateAssociatedEntities}, which conflicts with this template's associated entities. Please update the associated entities before saving.",
|
|
261
|
+
params: ['filingTemplateName', 'filingTemplateAssociatedEntities'],
|
|
256
262
|
affectedFields: ['taxPaymentFiling'],
|
|
257
263
|
},
|
|
258
264
|
MAIN_FILING_REQUIRED: {
|
|
@@ -272,20 +278,20 @@ exports.TEMPLATE_INFORMATION = (0, validation_message_types_1.defineValidationFe
|
|
|
272
278
|
},
|
|
273
279
|
MAIN_FILING_MUST_BE_INCOME_TAX: {
|
|
274
280
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
275
|
-
message: 'A main filing must be an income tax filing. {
|
|
276
|
-
params: ['
|
|
281
|
+
message: 'A main filing must be an income tax filing. {mainFilingName} is set to {mainFilingFilingType}. Please select a filing template with filing type set to income tax.',
|
|
282
|
+
params: ['mainFilingName', 'mainFilingFilingType'],
|
|
277
283
|
affectedFields: ['taxPaymentFiling'],
|
|
278
284
|
},
|
|
279
285
|
MAIN_FILING_MUST_FILE_SEPARATELY: {
|
|
280
286
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
281
|
-
message: "Tax payments can only be associated with filings that file separately. {
|
|
282
|
-
params: ['
|
|
287
|
+
message: "Tax payments can only be associated with filings that file separately. {mainFilingName} is set as 'Filing under parent'. Please select a different filing template.",
|
|
288
|
+
params: ['mainFilingName'],
|
|
283
289
|
affectedFields: ['taxPaymentFiling'],
|
|
284
290
|
},
|
|
285
291
|
MAIN_FILING_MUST_HAVE_ANNUAL_RECURRENCE: {
|
|
286
292
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
287
|
-
message: 'Tax payments can only be associated with filings on an annual recurrence. {
|
|
288
|
-
params: ['
|
|
293
|
+
message: 'Tax payments can only be associated with filings on an annual recurrence. {mainFilingName} is not set to recur annually. Please add an annual recurrence to {mainFilingName}, or select a different filing template.',
|
|
294
|
+
params: ['mainFilingName'],
|
|
289
295
|
affectedFields: ['taxPaymentFiling'],
|
|
290
296
|
},
|
|
291
297
|
INVALID_TAX_PAYMENT_FILING_STATE: {
|
|
@@ -1510,6 +1510,12 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
1510
1510
|
params: string[];
|
|
1511
1511
|
affectedFields: string[];
|
|
1512
1512
|
};
|
|
1513
|
+
PARENT_FILING_CANNOT_FILE_UNDER_PARENT: {
|
|
1514
|
+
severity: "error";
|
|
1515
|
+
message: string;
|
|
1516
|
+
params: string[];
|
|
1517
|
+
affectedFields: string[];
|
|
1518
|
+
};
|
|
1513
1519
|
TAX_PAYMENT_FILING_REQUIRED: {
|
|
1514
1520
|
severity: "error";
|
|
1515
1521
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA8BA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA8BA,eAAO,MAAM,mBAAmB;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -170,17 +170,20 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
|
|
|
170
170
|
},
|
|
171
171
|
OVERRIDE_SECOND_MONTH_MUST_FALL_WITHIN_12_MONTHS_OF_FIRST_MONTH: {
|
|
172
172
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
173
|
-
message:
|
|
173
|
+
message:
|
|
174
|
+
'The second month must fall within 12 months of the first month selected. Please update your selection before saving.',
|
|
174
175
|
affectedFields: ['recurrence.secondMonth'],
|
|
175
176
|
},
|
|
176
177
|
OVERRIDE_THIRD_MONTH_MUST_FALL_WITHIN_12_MONTHS_OF_FIRST_MONTH: {
|
|
177
178
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
178
|
-
message:
|
|
179
|
+
message:
|
|
180
|
+
'The third month must fall within 12 months of the first month selected. Please update your selection before saving.',
|
|
179
181
|
affectedFields: ['recurrence.thirdMonth'],
|
|
180
182
|
},
|
|
181
183
|
OVERRIDE_FOURTH_MONTH_MUST_FALL_WITHIN_12_MONTHS_OF_FIRST_MONTH: {
|
|
182
184
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
183
|
-
message:
|
|
185
|
+
message:
|
|
186
|
+
'The fourth month must fall within 12 months of the first month selected. Please update your selection before saving.',
|
|
184
187
|
affectedFields: ['recurrence.fourthMonth'],
|
|
185
188
|
},
|
|
186
189
|
});
|
|
@@ -138,22 +138,22 @@ export const TEMPLATE_INFORMATION = defineValidationFeatureMessages({
|
|
|
138
138
|
STATE_MISMATCH_WITH_ASSOCIATED_SUB_ENTITY_FILINGS: {
|
|
139
139
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
140
140
|
message:
|
|
141
|
-
'This template is linked to sub-entity filing templates that are set to {
|
|
142
|
-
params: ['
|
|
141
|
+
'This template is linked to sub-entity filing templates that are set to {subEntityTemplateState} state, which conflicts with the selected state. Please update the state before saving.',
|
|
142
|
+
params: ['subEntityTemplateState'],
|
|
143
143
|
affectedFields: ['state'],
|
|
144
144
|
},
|
|
145
145
|
STATE_MISMATCH_WITH_ASSOCIATED_TAX_PAYMENTS: {
|
|
146
146
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
147
147
|
message:
|
|
148
|
-
'This template has associated tax payments that are set to {
|
|
149
|
-
params: ['
|
|
148
|
+
'This template has associated tax payments that are set to {taxPaymentTemplateState} state, which conflicts with the selected state. Please update the state before saving.',
|
|
149
|
+
params: ['taxPaymentTemplateState'],
|
|
150
150
|
affectedFields: ['state'],
|
|
151
151
|
},
|
|
152
152
|
STATE_MISMATCH_WITH_PARENT_FILING: {
|
|
153
153
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
154
154
|
message:
|
|
155
|
-
'This template is filing under a parent that is set to {
|
|
156
|
-
params: ['
|
|
155
|
+
'This template is filing under a parent that is set to {parentFilingTemplateState}, which conflicts with the selected state. Please update the state before saving.',
|
|
156
|
+
params: ['parentFilingTemplateState'],
|
|
157
157
|
affectedFields: ['state'],
|
|
158
158
|
},
|
|
159
159
|
FILING_STATUS_REQUIRED: {
|
|
@@ -216,8 +216,15 @@ export const TEMPLATE_INFORMATION = defineValidationFeatureMessages({
|
|
|
216
216
|
FILES_UNDER_PARENT_STATE_MISMATCH: {
|
|
217
217
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
218
218
|
message:
|
|
219
|
-
"{
|
|
220
|
-
params: ['
|
|
219
|
+
"{parentFilingTemplateName} is set to {parentFilingState} state, which conflicts with this filing template's state. Please select a different parent template or update the state before saving.",
|
|
220
|
+
params: ['parentFilingTemplateName', 'parentFilingState'],
|
|
221
|
+
affectedFields: ['filesUnder'],
|
|
222
|
+
},
|
|
223
|
+
PARENT_FILING_CANNOT_FILE_UNDER_PARENT: {
|
|
224
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
225
|
+
message:
|
|
226
|
+
"{parentFilingTemplateName} is set as 'Filing under parent' and cannot be a parent template. Please select a different parent template.",
|
|
227
|
+
params: ['parentFilingTemplateName'],
|
|
221
228
|
affectedFields: ['filesUnder'],
|
|
222
229
|
},
|
|
223
230
|
TAX_PAYMENT_FILING_REQUIRED: {
|
|
@@ -238,36 +245,36 @@ export const TEMPLATE_INFORMATION = defineValidationFeatureMessages({
|
|
|
238
245
|
TAX_PAYMENT_FILING_MUST_HAVE_ANNUAL_RECURRENCE: {
|
|
239
246
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
240
247
|
message:
|
|
241
|
-
'Tax payments can only be associated with filings on an annual recurrence. {
|
|
242
|
-
params: ['
|
|
248
|
+
'Tax payments can only be associated with filings on an annual recurrence. {filingTemplateName} is not set to recur annually. Please add an annual recurrence to {filingTemplateName}, or select a different filing template.',
|
|
249
|
+
params: ['filingTemplateName'],
|
|
243
250
|
affectedFields: ['taxPaymentFiling'],
|
|
244
251
|
},
|
|
245
252
|
TAX_PAYMENT_FILING_MUST_BE_INCOME_TAX: {
|
|
246
253
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
247
254
|
message:
|
|
248
|
-
'A tax payment must be associated with an income tax filing. {
|
|
249
|
-
params: ['
|
|
255
|
+
'A tax payment must be associated with an income tax filing. {filingTemplateName} is set to {filingTemplateFilingType}. Please select a filing template with filing type set to income tax.',
|
|
256
|
+
params: ['filingTemplateName', 'filingTemplateFilingType'],
|
|
250
257
|
affectedFields: ['taxPaymentFiling'],
|
|
251
258
|
},
|
|
252
259
|
TAX_PAYMENT_FILING_STATE_MISMATCH: {
|
|
253
260
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
254
261
|
message:
|
|
255
|
-
"{
|
|
256
|
-
params: ['
|
|
262
|
+
"{filingTemplateName} is set to {filingTemplateState}, which conflicts with this template's state. Please select a different filing template or update the state before saving.",
|
|
263
|
+
params: ['filingTemplateName', 'filingTemplateState'],
|
|
257
264
|
affectedFields: ['taxPaymentFiling'],
|
|
258
265
|
},
|
|
259
266
|
TAX_PAYMENT_FILING_MUST_FILE_SEPARATELY: {
|
|
260
267
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
261
268
|
message:
|
|
262
|
-
"Tax payments can only be associated with filings that file separately. {
|
|
263
|
-
params: ['
|
|
269
|
+
"Tax payments can only be associated with filings that file separately. {filingTemplateName} is set as 'Filing under parent'. Please select a different filing template.",
|
|
270
|
+
params: ['filingTemplateName'],
|
|
264
271
|
affectedFields: ['taxPaymentFiling'],
|
|
265
272
|
},
|
|
266
273
|
TAX_PAYMENT_FILING_ASSOCIATED_ENTITIES_MISMATCH: {
|
|
267
274
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
268
275
|
message:
|
|
269
|
-
"{
|
|
270
|
-
params: ['
|
|
276
|
+
"{filingTemplateName} is set to {filingTemplateAssociatedEntities}, which conflicts with this template's associated entities. Please update the associated entities before saving.",
|
|
277
|
+
params: ['filingTemplateName', 'filingTemplateAssociatedEntities'],
|
|
271
278
|
affectedFields: ['taxPaymentFiling'],
|
|
272
279
|
},
|
|
273
280
|
MAIN_FILING_REQUIRED: {
|
|
@@ -288,22 +295,22 @@ export const TEMPLATE_INFORMATION = defineValidationFeatureMessages({
|
|
|
288
295
|
MAIN_FILING_MUST_BE_INCOME_TAX: {
|
|
289
296
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
290
297
|
message:
|
|
291
|
-
'A main filing must be an income tax filing. {
|
|
292
|
-
params: ['
|
|
298
|
+
'A main filing must be an income tax filing. {mainFilingName} is set to {mainFilingFilingType}. Please select a filing template with filing type set to income tax.',
|
|
299
|
+
params: ['mainFilingName', 'mainFilingFilingType'],
|
|
293
300
|
affectedFields: ['taxPaymentFiling'],
|
|
294
301
|
},
|
|
295
302
|
MAIN_FILING_MUST_FILE_SEPARATELY: {
|
|
296
303
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
297
304
|
message:
|
|
298
|
-
"Tax payments can only be associated with filings that file separately. {
|
|
299
|
-
params: ['
|
|
305
|
+
"Tax payments can only be associated with filings that file separately. {mainFilingName} is set as 'Filing under parent'. Please select a different filing template.",
|
|
306
|
+
params: ['mainFilingName'],
|
|
300
307
|
affectedFields: ['taxPaymentFiling'],
|
|
301
308
|
},
|
|
302
309
|
MAIN_FILING_MUST_HAVE_ANNUAL_RECURRENCE: {
|
|
303
310
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
304
311
|
message:
|
|
305
|
-
'Tax payments can only be associated with filings on an annual recurrence. {
|
|
306
|
-
params: ['
|
|
312
|
+
'Tax payments can only be associated with filings on an annual recurrence. {mainFilingName} is not set to recur annually. Please add an annual recurrence to {mainFilingName}, or select a different filing template.',
|
|
313
|
+
params: ['mainFilingName'],
|
|
307
314
|
affectedFields: ['taxPaymentFiling'],
|
|
308
315
|
},
|
|
309
316
|
INVALID_TAX_PAYMENT_FILING_STATE: {
|