@unimaze/billing 0.21.20 → 0.21.21
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.
|
@@ -223,7 +223,10 @@ var CreateInvoiceConstructor = function (props) {
|
|
|
223
223
|
switch (activeStep) {
|
|
224
224
|
case 0: {
|
|
225
225
|
form.validateFields(formPaths_1.customerFieldPaths, { validateOnly: true })
|
|
226
|
-
.then(function () {
|
|
226
|
+
.then(function () {
|
|
227
|
+
setMissingRequiredDataTooltip(undefined);
|
|
228
|
+
setIsNextStepDisabled(false);
|
|
229
|
+
})
|
|
227
230
|
.catch(function (error) {
|
|
228
231
|
(0, ValidationUtility_1.handleValidationErrors)(error, setMissingRequiredDataTooltip, setIsNextStepDisabled, intl);
|
|
229
232
|
});
|
|
@@ -254,7 +257,10 @@ var CreateInvoiceConstructor = function (props) {
|
|
|
254
257
|
}
|
|
255
258
|
case 3: {
|
|
256
259
|
form.validateFields(formPaths_1.paymentMeansFieldPaths, { validateOnly: true })
|
|
257
|
-
.then(function () {
|
|
260
|
+
.then(function () {
|
|
261
|
+
setIsNextStepDisabled(false);
|
|
262
|
+
setMissingRequiredDataTooltip(undefined);
|
|
263
|
+
})
|
|
258
264
|
.catch(function (error) {
|
|
259
265
|
(0, ValidationUtility_1.handleValidationErrors)(error, setMissingRequiredDataTooltip, setIsNextStepDisabled, intl);
|
|
260
266
|
});
|