Skip to content
Code-Schnipsel Gruppen Projekte
Commit 7a6ec85c erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix: pcsg/kunden/froilein-adrett-template#91 - missing first and lastname

Übergeordneter 13e52d5c
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
......@@ -39,6 +39,9 @@ define('package/quiqqer/order/bin/backend/controls/panels/order/Address', [
this.$City = null;
this.$Country = null;
this.$firstname = null;
this.$lastname = null;
this.$loaded = false;
this.$userId = this.getAttribute('userId');
......@@ -103,6 +106,8 @@ define('package/quiqqer/order/bin/backend/controls/panels/order/Address', [
getValue: function () {
return {
uid : this.$userId,
firstname: this.$firstname,
lastname : this.$lastname,
company : this.$Company.value,
street_no: this.$Street.value,
zip : this.$ZIP.value,
......@@ -137,6 +142,14 @@ define('package/quiqqer/order/bin/backend/controls/panels/order/Address', [
this.$City.value = value.city;
}
if ("firstname" in value) {
this.$firstname = value.firstname;
}
if ("lastname" in value) {
this.$lastname = value.lastname;
}
if ("country" in value) {
if (this.$loaded) {
this.$Country.value = value.country;
......@@ -249,6 +262,8 @@ define('package/quiqqer/order/bin/backend/controls/panels/order/Address', [
this.$Street.value = data.street_no;
this.$ZIP.value = data.zip;
this.$City.value = data.city;
this.$firstname = data.firstname;
this.$lastname = data.lastname;
},
/**
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren