@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
|
|
351
|
-
|
|
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 () {
|