@unimaze/billing 0.21.62 → 0.21.63

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.
@@ -347,8 +347,9 @@ var CreateInvoiceConstructor = function (props) {
347
347
  var customerFromLocalStorage = (_c = savedValuesObject.invoice) === null || _c === void 0 ? void 0 : _c.customer;
348
348
  setChosenCustomer(customerFromLocalStorage);
349
349
  }
350
- var issueDate = savedValuesObject.issueDate, rest = __rest(savedValuesObject, ["issueDate"]);
351
- form.setFieldsValue(rest);
350
+ var invoice = savedValuesObject.invoice, rest = __rest(savedValuesObject, ["invoice"]);
351
+ var issueDate = invoice.issueDate, restOfInvoice = __rest(invoice, ["issueDate"]);
352
+ form.setFieldsValue(__assign({ invoice: restOfInvoice }, rest));
352
353
  }
353
354
  }, []);
354
355
  (0, react_1.useEffect)(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unimaze/billing",
3
- "version": "0.21.62",
3
+ "version": "0.21.63",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",