parent
6d2431b683
commit
86f13003b5
@ -52,9 +52,19 @@
|
|||||||
text: "Organization is being added...",
|
text: "Organization is being added...",
|
||||||
duration: -1,
|
duration: -1,
|
||||||
}).showToast();
|
}).showToast();
|
||||||
|
let address = {};
|
||||||
|
if (address_checked === true) {
|
||||||
|
address = {
|
||||||
|
address1: address_input1_value,
|
||||||
|
address2: address_input2_value || "",
|
||||||
|
postalcode: address_zipcode_value,
|
||||||
|
city: address_city_value,
|
||||||
|
country: "DE",
|
||||||
|
};
|
||||||
|
}
|
||||||
RunnerOrganizationService.runnerOrganizationControllerPost({
|
RunnerOrganizationService.runnerOrganizationControllerPost({
|
||||||
name,
|
name,
|
||||||
address: undefined,
|
address: address,
|
||||||
contact: undefined,
|
contact: undefined,
|
||||||
})
|
})
|
||||||
.then((result) => {
|
.then((result) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user