@forwardslashns/taskit-validation-messages 1.10.44 → 1.10.46
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 +50 -0
- package/dist/validation/features/client-templates.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/client-templates.validation-messages.js +50 -0
- package/dist/validation/features/template-information.validation-messages.js +3 -3
- package/dist/validation/validation-messages.d.ts +50 -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 +50 -0
- package/src/validation/features/template-information.validation-messages.ts +3 -3
|
@@ -180,5 +180,55 @@ export declare const CLIENT_TEMPLATES: {
|
|
|
180
180
|
message: string;
|
|
181
181
|
affectedFields: string[];
|
|
182
182
|
};
|
|
183
|
+
BILLING_SUBJECT_TO_COMMISSION_MISMATCH: {
|
|
184
|
+
severity: "error";
|
|
185
|
+
message: string;
|
|
186
|
+
affectedFields: string[];
|
|
187
|
+
};
|
|
188
|
+
BILLING_COMMISSION_RATE_MISMATCH: {
|
|
189
|
+
severity: "error";
|
|
190
|
+
message: string;
|
|
191
|
+
affectedFields: string[];
|
|
192
|
+
};
|
|
193
|
+
PAYMENT_COMMISSION_RATE_MUST_BE_EMPTY: {
|
|
194
|
+
severity: "error";
|
|
195
|
+
message: string;
|
|
196
|
+
affectedFields: string[];
|
|
197
|
+
};
|
|
198
|
+
AMOUNT_MUST_BE_NULL_WHEN_NOT_SEPARATELY_CHARGED: {
|
|
199
|
+
severity: "error";
|
|
200
|
+
message: string;
|
|
201
|
+
affectedFields: string[];
|
|
202
|
+
};
|
|
203
|
+
AMOUNT_MUST_BE_ZERO_FOR_FIXED_FEE_BILLING: {
|
|
204
|
+
severity: "error";
|
|
205
|
+
message: string;
|
|
206
|
+
affectedFields: string[];
|
|
207
|
+
};
|
|
208
|
+
AMOUNT_MUST_MATCH_TEMPLATE: {
|
|
209
|
+
severity: "error";
|
|
210
|
+
message: string;
|
|
211
|
+
affectedFields: string[];
|
|
212
|
+
};
|
|
213
|
+
SEPARATELY_CHARGED_MUST_BE_NO_FOR_FIXED_FEE: {
|
|
214
|
+
severity: "error";
|
|
215
|
+
message: string;
|
|
216
|
+
affectedFields: string[];
|
|
217
|
+
};
|
|
218
|
+
SUBJECT_TO_COMMISSION_MUST_BE_NO: {
|
|
219
|
+
severity: "error";
|
|
220
|
+
message: string;
|
|
221
|
+
affectedFields: string[];
|
|
222
|
+
};
|
|
223
|
+
COMMISSION_RATE_MUST_MATCH_TEMPLATE: {
|
|
224
|
+
severity: "error";
|
|
225
|
+
message: string;
|
|
226
|
+
affectedFields: string[];
|
|
227
|
+
};
|
|
228
|
+
COMMISSION_RATE_MUST_BE_EMPTY: {
|
|
229
|
+
severity: "error";
|
|
230
|
+
message: string;
|
|
231
|
+
affectedFields: string[];
|
|
232
|
+
};
|
|
183
233
|
};
|
|
184
234
|
//# sourceMappingURL=client-templates.validation-messages.d.ts.map
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4O3B,CAAC"}
|
|
@@ -184,4 +184,54 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
|
|
|
184
184
|
message: 'The fourth month must fall within 12 months of the first month selected. Please update your selection before saving.',
|
|
185
185
|
affectedFields: ['recurrence.fourthMonth'],
|
|
186
186
|
},
|
|
187
|
+
BILLING_SUBJECT_TO_COMMISSION_MISMATCH: {
|
|
188
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
189
|
+
message: "Billing template must match the client's 'Subject to commission' setting.",
|
|
190
|
+
affectedFields: ['billingAndPayments.isSubjectToCommission'],
|
|
191
|
+
},
|
|
192
|
+
BILLING_COMMISSION_RATE_MISMATCH: {
|
|
193
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
194
|
+
message: "Billing template commission rate must match the client's commission rate.",
|
|
195
|
+
affectedFields: ['billingAndPayments.commissionRate'],
|
|
196
|
+
},
|
|
197
|
+
PAYMENT_COMMISSION_RATE_MUST_BE_EMPTY: {
|
|
198
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
199
|
+
message: 'Payment template cannot have a commission rate.',
|
|
200
|
+
affectedFields: ['billingAndPayments.commissionRate'],
|
|
201
|
+
},
|
|
202
|
+
AMOUNT_MUST_BE_NULL_WHEN_NOT_SEPARATELY_CHARGED: {
|
|
203
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
204
|
+
message: "Amount must be empty when 'Separately charged' is No.",
|
|
205
|
+
affectedFields: ['billingAndPayments.amount'],
|
|
206
|
+
},
|
|
207
|
+
AMOUNT_MUST_BE_ZERO_FOR_FIXED_FEE_BILLING: {
|
|
208
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
209
|
+
message: "Amount must be 0 for Billing templates when client billing type is 'Fixed annual fee'.",
|
|
210
|
+
affectedFields: ['billingAndPayments.amount'],
|
|
211
|
+
},
|
|
212
|
+
AMOUNT_MUST_MATCH_TEMPLATE: {
|
|
213
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
214
|
+
message: "Amount must match the template's amount when 'Separately charged' is Yes.",
|
|
215
|
+
affectedFields: ['billingAndPayments.amount'],
|
|
216
|
+
},
|
|
217
|
+
SEPARATELY_CHARGED_MUST_BE_NO_FOR_FIXED_FEE: {
|
|
218
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
219
|
+
message: "'Separately charged' must be No for this template type when client billing type is 'Fixed annual fee'.",
|
|
220
|
+
affectedFields: ['billingAndPayments.isSeparatelyCharged'],
|
|
221
|
+
},
|
|
222
|
+
SUBJECT_TO_COMMISSION_MUST_BE_NO: {
|
|
223
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
224
|
+
message: "'Subject to commission' must be No for this template type with the client's current settings.",
|
|
225
|
+
affectedFields: ['billingAndPayments.isSubjectToCommission'],
|
|
226
|
+
},
|
|
227
|
+
COMMISSION_RATE_MUST_MATCH_TEMPLATE: {
|
|
228
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
229
|
+
message: "Commission rate must match the template's commission rate when 'Subject to commission' is Yes.",
|
|
230
|
+
affectedFields: ['billingAndPayments.commissionRate'],
|
|
231
|
+
},
|
|
232
|
+
COMMISSION_RATE_MUST_BE_EMPTY: {
|
|
233
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
234
|
+
message: "Commission rate must be empty when 'Subject to commission' is No.",
|
|
235
|
+
affectedFields: ['billingAndPayments.commissionRate'],
|
|
236
|
+
},
|
|
187
237
|
});
|
|
@@ -212,7 +212,7 @@ exports.TEMPLATE_INFORMATION = (0, validation_message_types_1.defineValidationFe
|
|
|
212
212
|
},
|
|
213
213
|
PARENT_FILING_CANNOT_FILE_UNDER_PARENT: {
|
|
214
214
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
215
|
-
message: `{parentFilingTemplateName} is set as '
|
|
215
|
+
message: `{parentFilingTemplateName} is set as 'Files under parent' and cannot be a parent template. Please select a different parent template.`,
|
|
216
216
|
params: ['parentFilingTemplateName'],
|
|
217
217
|
affectedFields: ['filesUnder'],
|
|
218
218
|
},
|
|
@@ -251,7 +251,7 @@ exports.TEMPLATE_INFORMATION = (0, validation_message_types_1.defineValidationFe
|
|
|
251
251
|
},
|
|
252
252
|
TAX_PAYMENT_FILING_MUST_FILE_SEPARATELY: {
|
|
253
253
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
254
|
-
message: `Tax payments can only be associated with filings that file separately. {filingTemplateName} is set as '
|
|
254
|
+
message: `Tax payments can only be associated with filings that file separately. {filingTemplateName} is set as 'Files under parent'. Please select a different filing template.`,
|
|
255
255
|
params: ['filingTemplateName'],
|
|
256
256
|
affectedFields: ['taxPaymentFiling'],
|
|
257
257
|
},
|
|
@@ -284,7 +284,7 @@ exports.TEMPLATE_INFORMATION = (0, validation_message_types_1.defineValidationFe
|
|
|
284
284
|
},
|
|
285
285
|
MAIN_FILING_MUST_FILE_SEPARATELY: {
|
|
286
286
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
287
|
-
message: `Tax payments can only be associated with filings that file separately. {mainFilingName} is set as '
|
|
287
|
+
message: `Tax payments can only be associated with filings that file separately. {mainFilingName} is set as 'Files under parent'. Please select a different filing template.`,
|
|
288
288
|
params: ['mainFilingName'],
|
|
289
289
|
affectedFields: ['taxPaymentFiling'],
|
|
290
290
|
},
|
|
@@ -2163,6 +2163,56 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
2163
2163
|
message: string;
|
|
2164
2164
|
affectedFields: string[];
|
|
2165
2165
|
};
|
|
2166
|
+
BILLING_SUBJECT_TO_COMMISSION_MISMATCH: {
|
|
2167
|
+
severity: "error";
|
|
2168
|
+
message: string;
|
|
2169
|
+
affectedFields: string[];
|
|
2170
|
+
};
|
|
2171
|
+
BILLING_COMMISSION_RATE_MISMATCH: {
|
|
2172
|
+
severity: "error";
|
|
2173
|
+
message: string;
|
|
2174
|
+
affectedFields: string[];
|
|
2175
|
+
};
|
|
2176
|
+
PAYMENT_COMMISSION_RATE_MUST_BE_EMPTY: {
|
|
2177
|
+
severity: "error";
|
|
2178
|
+
message: string;
|
|
2179
|
+
affectedFields: string[];
|
|
2180
|
+
};
|
|
2181
|
+
AMOUNT_MUST_BE_NULL_WHEN_NOT_SEPARATELY_CHARGED: {
|
|
2182
|
+
severity: "error";
|
|
2183
|
+
message: string;
|
|
2184
|
+
affectedFields: string[];
|
|
2185
|
+
};
|
|
2186
|
+
AMOUNT_MUST_BE_ZERO_FOR_FIXED_FEE_BILLING: {
|
|
2187
|
+
severity: "error";
|
|
2188
|
+
message: string;
|
|
2189
|
+
affectedFields: string[];
|
|
2190
|
+
};
|
|
2191
|
+
AMOUNT_MUST_MATCH_TEMPLATE: {
|
|
2192
|
+
severity: "error";
|
|
2193
|
+
message: string;
|
|
2194
|
+
affectedFields: string[];
|
|
2195
|
+
};
|
|
2196
|
+
SEPARATELY_CHARGED_MUST_BE_NO_FOR_FIXED_FEE: {
|
|
2197
|
+
severity: "error";
|
|
2198
|
+
message: string;
|
|
2199
|
+
affectedFields: string[];
|
|
2200
|
+
};
|
|
2201
|
+
SUBJECT_TO_COMMISSION_MUST_BE_NO: {
|
|
2202
|
+
severity: "error";
|
|
2203
|
+
message: string;
|
|
2204
|
+
affectedFields: string[];
|
|
2205
|
+
};
|
|
2206
|
+
COMMISSION_RATE_MUST_MATCH_TEMPLATE: {
|
|
2207
|
+
severity: "error";
|
|
2208
|
+
message: string;
|
|
2209
|
+
affectedFields: string[];
|
|
2210
|
+
};
|
|
2211
|
+
COMMISSION_RATE_MUST_BE_EMPTY: {
|
|
2212
|
+
severity: "error";
|
|
2213
|
+
message: string;
|
|
2214
|
+
affectedFields: string[];
|
|
2215
|
+
};
|
|
2166
2216
|
};
|
|
2167
2217
|
readonly CLIENT_TEMPLATE_ASSIGNMENTS: {
|
|
2168
2218
|
NAME_ALREADY_EXISTS_ON_CLIENT_TEMPLATE: {
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -186,4 +186,54 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
|
|
|
186
186
|
'The fourth month must fall within 12 months of the first month selected. Please update your selection before saving.',
|
|
187
187
|
affectedFields: ['recurrence.fourthMonth'],
|
|
188
188
|
},
|
|
189
|
+
BILLING_SUBJECT_TO_COMMISSION_MISMATCH: {
|
|
190
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
191
|
+
message: "Billing template must match the client's 'Subject to commission' setting.",
|
|
192
|
+
affectedFields: ['billingAndPayments.isSubjectToCommission'],
|
|
193
|
+
},
|
|
194
|
+
BILLING_COMMISSION_RATE_MISMATCH: {
|
|
195
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
196
|
+
message: "Billing template commission rate must match the client's commission rate.",
|
|
197
|
+
affectedFields: ['billingAndPayments.commissionRate'],
|
|
198
|
+
},
|
|
199
|
+
PAYMENT_COMMISSION_RATE_MUST_BE_EMPTY: {
|
|
200
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
201
|
+
message: 'Payment template cannot have a commission rate.',
|
|
202
|
+
affectedFields: ['billingAndPayments.commissionRate'],
|
|
203
|
+
},
|
|
204
|
+
AMOUNT_MUST_BE_NULL_WHEN_NOT_SEPARATELY_CHARGED: {
|
|
205
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
206
|
+
message: "Amount must be empty when 'Separately charged' is No.",
|
|
207
|
+
affectedFields: ['billingAndPayments.amount'],
|
|
208
|
+
},
|
|
209
|
+
AMOUNT_MUST_BE_ZERO_FOR_FIXED_FEE_BILLING: {
|
|
210
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
211
|
+
message: "Amount must be 0 for Billing templates when client billing type is 'Fixed annual fee'.",
|
|
212
|
+
affectedFields: ['billingAndPayments.amount'],
|
|
213
|
+
},
|
|
214
|
+
AMOUNT_MUST_MATCH_TEMPLATE: {
|
|
215
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
216
|
+
message: "Amount must match the template's amount when 'Separately charged' is Yes.",
|
|
217
|
+
affectedFields: ['billingAndPayments.amount'],
|
|
218
|
+
},
|
|
219
|
+
SEPARATELY_CHARGED_MUST_BE_NO_FOR_FIXED_FEE: {
|
|
220
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
221
|
+
message: "'Separately charged' must be No for this template type when client billing type is 'Fixed annual fee'.",
|
|
222
|
+
affectedFields: ['billingAndPayments.isSeparatelyCharged'],
|
|
223
|
+
},
|
|
224
|
+
SUBJECT_TO_COMMISSION_MUST_BE_NO: {
|
|
225
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
226
|
+
message: "'Subject to commission' must be No for this template type with the client's current settings.",
|
|
227
|
+
affectedFields: ['billingAndPayments.isSubjectToCommission'],
|
|
228
|
+
},
|
|
229
|
+
COMMISSION_RATE_MUST_MATCH_TEMPLATE: {
|
|
230
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
231
|
+
message: "Commission rate must match the template's commission rate when 'Subject to commission' is Yes.",
|
|
232
|
+
affectedFields: ['billingAndPayments.commissionRate'],
|
|
233
|
+
},
|
|
234
|
+
COMMISSION_RATE_MUST_BE_EMPTY: {
|
|
235
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
236
|
+
message: "Commission rate must be empty when 'Subject to commission' is No.",
|
|
237
|
+
affectedFields: ['billingAndPayments.commissionRate'],
|
|
238
|
+
},
|
|
189
239
|
});
|
|
@@ -216,7 +216,7 @@ export const TEMPLATE_INFORMATION = defineValidationFeatureMessages({
|
|
|
216
216
|
},
|
|
217
217
|
PARENT_FILING_CANNOT_FILE_UNDER_PARENT: {
|
|
218
218
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
219
|
-
message: `{parentFilingTemplateName} is set as '
|
|
219
|
+
message: `{parentFilingTemplateName} is set as 'Files under parent' and cannot be a parent template. Please select a different parent template.`,
|
|
220
220
|
params: ['parentFilingTemplateName'],
|
|
221
221
|
affectedFields: ['filesUnder'],
|
|
222
222
|
},
|
|
@@ -255,7 +255,7 @@ export const TEMPLATE_INFORMATION = defineValidationFeatureMessages({
|
|
|
255
255
|
},
|
|
256
256
|
TAX_PAYMENT_FILING_MUST_FILE_SEPARATELY: {
|
|
257
257
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
258
|
-
message: `Tax payments can only be associated with filings that file separately. {filingTemplateName} is set as '
|
|
258
|
+
message: `Tax payments can only be associated with filings that file separately. {filingTemplateName} is set as 'Files under parent'. Please select a different filing template.`,
|
|
259
259
|
params: ['filingTemplateName'],
|
|
260
260
|
affectedFields: ['taxPaymentFiling'],
|
|
261
261
|
},
|
|
@@ -288,7 +288,7 @@ export const TEMPLATE_INFORMATION = defineValidationFeatureMessages({
|
|
|
288
288
|
},
|
|
289
289
|
MAIN_FILING_MUST_FILE_SEPARATELY: {
|
|
290
290
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
291
|
-
message: `Tax payments can only be associated with filings that file separately. {mainFilingName} is set as '
|
|
291
|
+
message: `Tax payments can only be associated with filings that file separately. {mainFilingName} is set as 'Files under parent'. Please select a different filing template.`,
|
|
292
292
|
params: ['mainFilingName'],
|
|
293
293
|
affectedFields: ['taxPaymentFiling'],
|
|
294
294
|
},
|