forked from verdnatura/salix-front
refs #6768 create consignee
This commit is contained in:
parent
9673447792
commit
f0b2979066
|
@ -51,7 +51,7 @@ const toCustomerConsignees = () => {
|
||||||
};
|
};
|
||||||
function handleLocation(data, location) {
|
function handleLocation(data, location) {
|
||||||
const { town, code, provinceFk, countryFk } = location ?? {};
|
const { town, code, provinceFk, countryFk } = location ?? {};
|
||||||
data.postcode = code;
|
data.postalCode = code;
|
||||||
data.city = town;
|
data.city = town;
|
||||||
data.provinceFk = provinceFk;
|
data.provinceFk = provinceFk;
|
||||||
data.countryFk = countryFk;
|
data.countryFk = countryFk;
|
||||||
|
|
Loading…
Reference in New Issue