@unimaze/billing 0.21.23 → 0.21.24

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.
@@ -367,23 +367,22 @@ var CreateInvoiceConstructor = function (props) {
367
367
  },
368
368
  });
369
369
  }, [outsideVatScope]);
370
- (0, react_1.useEffect)(function () {
371
- if (supplierEmail) {
372
- form.validateFields([["invoice", "supplier", "contact", "electronicMail"]])
373
- .then(function () {
374
- setSendCopyDisabled(!supplierEmail);
375
- setSendCopy(true);
376
- })
377
- .catch(function () {
378
- setSendCopyDisabled(true);
379
- setSendCopy(false);
380
- });
381
- }
382
- else {
383
- setSendCopy(false);
384
- setSendCopyDisabled(true);
385
- }
386
- }, [supplierEmail]);
370
+ // useEffect(() => {
371
+ // if (supplierEmail) {
372
+ // form.validateFields([["invoice", "supplier", "contact", "electronicMail"]])
373
+ // .then(() => {
374
+ // setSendCopyDisabled(!supplierEmail);
375
+ // setSendCopy(true);
376
+ // })
377
+ // .catch(() => {
378
+ // setSendCopyDisabled(true);
379
+ // setSendCopy(false);
380
+ // });
381
+ // } else {
382
+ // setSendCopy(false);
383
+ // setSendCopyDisabled(true);
384
+ // }
385
+ // }, [supplierEmail]);
387
386
  var handleSubmit = function (_values) {
388
387
  var _a, _b, _c, _d, _e, _f;
389
388
  setSubmitting(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unimaze/billing",
3
- "version": "0.21.23",
3
+ "version": "0.21.24",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",