shish 3 år sedan
förälder
incheckning
409d1b0b6f
1 ändrade filer med 6 tillägg och 1 borttagningar
  1. 6 1
      biz-ghs/order/classes/OrderClass.php

+ 6 - 1
biz-ghs/order/classes/OrderClass.php

@@ -1025,7 +1025,12 @@ class OrderClass extends BaseClass
             $content .= '<B>' . $respond['custom']['customName'] . '</B><BR>';
             $content .= '<B>' . $respond['custom']['customMobile'] . '</B><BR>';
             if(isset($orderInfo['address']) && !empty($orderInfo['address'])){
-                $content .= $orderInfo['address'].'(' . $orderInfo['showAddress'].')<BR>';
+                $content .= $respond['custom']['fullAddress'];
+                if(isset($orderInfo['showAddress']) && !empty($orderInfo['showAddress'])){
+                    $content .= '(' . $orderInfo['showAddress'].')<BR>';
+                }else{
+                    $content .= '<BR>';
+                }
             }
         }