Addresses for orgs and a bunch of bugfixes feature/72-adddress_for_everyone #73

Merged
niggl merged 9 commits from feature/72-adddress_for_everyone into dev 2021-02-19 17:04:21 +00:00
Showing only changes of commit 86f13003b5 - Show all commits

View File

@ -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) => {