@forwardslashns/taskit-validation-messages 1.10.121 → 1.10.122
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/billing.validation-messages.d.ts +10 -0
- package/dist/validation/features/billing.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/billing.validation-messages.js +10 -0
- package/dist/validation/validation-messages.d.ts +10 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/billing.validation-messages.ts +10 -0
|
@@ -74,6 +74,16 @@ export declare const BILLING: {
|
|
|
74
74
|
message: string;
|
|
75
75
|
affectedFields: string[];
|
|
76
76
|
};
|
|
77
|
+
INVOICE_NUMBER_REQUIRES_APPROVED: {
|
|
78
|
+
severity: "error";
|
|
79
|
+
message: string;
|
|
80
|
+
affectedFields: string[];
|
|
81
|
+
};
|
|
82
|
+
INVOICED_CANNOT_REOPEN: {
|
|
83
|
+
severity: "error";
|
|
84
|
+
message: string;
|
|
85
|
+
affectedFields: never[];
|
|
86
|
+
};
|
|
77
87
|
CHARGE_AMOUNT_REQUIRED: {
|
|
78
88
|
severity: "error";
|
|
79
89
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/billing.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"billing.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/billing.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqGlB,CAAC"}
|
|
@@ -78,6 +78,16 @@ exports.BILLING = (0, validation_message_types_1.defineValidationFeatureMessages
|
|
|
78
78
|
message: "Amount must be 0 when 'Separately charged' is No.",
|
|
79
79
|
affectedFields: ['amount'],
|
|
80
80
|
},
|
|
81
|
+
INVOICE_NUMBER_REQUIRES_APPROVED: {
|
|
82
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
83
|
+
message: 'Approve the task before entering an invoice number.',
|
|
84
|
+
affectedFields: ['invoiceNumber'],
|
|
85
|
+
},
|
|
86
|
+
INVOICED_CANNOT_REOPEN: {
|
|
87
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
88
|
+
message: 'An invoiced task cannot be reopened.',
|
|
89
|
+
affectedFields: [],
|
|
90
|
+
},
|
|
81
91
|
CHARGE_AMOUNT_REQUIRED: {
|
|
82
92
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
83
93
|
message: 'Enter an amount for the charge.',
|
|
@@ -3258,6 +3258,16 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
3258
3258
|
message: string;
|
|
3259
3259
|
affectedFields: string[];
|
|
3260
3260
|
};
|
|
3261
|
+
INVOICE_NUMBER_REQUIRES_APPROVED: {
|
|
3262
|
+
severity: "error";
|
|
3263
|
+
message: string;
|
|
3264
|
+
affectedFields: string[];
|
|
3265
|
+
};
|
|
3266
|
+
INVOICED_CANNOT_REOPEN: {
|
|
3267
|
+
severity: "error";
|
|
3268
|
+
message: string;
|
|
3269
|
+
affectedFields: never[];
|
|
3270
|
+
};
|
|
3261
3271
|
CHARGE_AMOUNT_REQUIRED: {
|
|
3262
3272
|
severity: "error";
|
|
3263
3273
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA+CA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA+CA,eAAO,MAAM,mBAAmB;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -76,6 +76,16 @@ export const BILLING = defineValidationFeatureMessages({
|
|
|
76
76
|
message: "Amount must be 0 when 'Separately charged' is No.",
|
|
77
77
|
affectedFields: ['amount'],
|
|
78
78
|
},
|
|
79
|
+
INVOICE_NUMBER_REQUIRES_APPROVED: {
|
|
80
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
81
|
+
message: 'Approve the task before entering an invoice number.',
|
|
82
|
+
affectedFields: ['invoiceNumber'],
|
|
83
|
+
},
|
|
84
|
+
INVOICED_CANNOT_REOPEN: {
|
|
85
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
86
|
+
message: 'An invoiced task cannot be reopened.',
|
|
87
|
+
affectedFields: [],
|
|
88
|
+
},
|
|
79
89
|
CHARGE_AMOUNT_REQUIRED: {
|
|
80
90
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
81
91
|
message: 'Enter an amount for the charge.',
|