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

fix: pcsg/kunden/froilein-adrett-template#58

Übergeordneter c3d429fd
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
......@@ -65,7 +65,7 @@ public function getBody()
}
}
if (!$Address || $this->isAddressEmpty($Address)) {
if (!$Address) {
try {
/* @var $User \QUI\Users\User */
$Address = $User->getStandardAddress();
......@@ -455,7 +455,7 @@ protected function getInvoiceAddress()
try {
$Address = $Order->getInvoiceAddress();
if ($Address->getId()) {
if ($Address->getId() && !$this->isAddressEmpty($Address)) {
return $User->getAddress($Address->getId());
}
} catch (QUI\Exception $Exception) {
......@@ -465,7 +465,7 @@ protected function getInvoiceAddress()
try {
$Address = $Customer->getStandardAddress();
if ($Address->getId()) {
if ($Address->getId() && !$this->isAddressEmpty($Address)) {
return $User->getAddress($Address->getId());
}
} catch (QUI\Exception $Exception) {
......
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