shish 3 лет назад
Родитель
Сommit
2ffd606e12
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      biz-ghs/order/classes/OrderClass.php

+ 4 - 2
biz-ghs/order/classes/OrderClass.php

@@ -1021,10 +1021,12 @@ class OrderClass extends BaseClass
 
 
         //花悠星拿一个客户当作零售开单,不需要显示以下信息
         //花悠星拿一个客户当作零售开单,不需要显示以下信息
         if ($customId != 12145) {
         if ($customId != 12145) {
-            $content .= '<B>【买家信息】</B><BR>';
+            $content .= '<B>买家信息:</B><BR><BR>';
             $content .= '<B>' . $respond['custom']['customName'] . '</B><BR>';
             $content .= '<B>' . $respond['custom']['customName'] . '</B><BR>';
             $content .= '<B>' . $respond['custom']['customMobile'] . '</B><BR>';
             $content .= '<B>' . $respond['custom']['customMobile'] . '</B><BR>';
-            $content .= $respond['custom']['fullAddress'] . '<BR>';
+            if(isset($orderInfo['address']) && !empty($orderInfo['address'])){
+                $content .= $orderInfo['address'].'(' . $orderInfo['showAddress'].')<BR>';
+            }
         }
         }
 
 
         $payDate = date("Y-m-d", strtotime($orderInfo['payTime']));
         $payDate = date("Y-m-d", strtotime($orderInfo['payTime']));