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

+ 8 - 0
biz-ghs/order/classes/OrderClass.php

@@ -617,6 +617,14 @@ class OrderClass extends BaseClass
         $content .= '<B>' . $respond['custom']['fullAddress'] . '</B><BR>';
         $content .= '<B>' . $respond['custom']['customName'] . '</B><BR>';
         $content .= '<B>' . $respond['custom']['customMobile'] . '</B><BR>';
+
+        $payDate = date("Y-m-d", strtotime($orderInfo['payTime']));
+        $sendTimWant = $orderInfo['sendTimeWant'] ?? '';
+        if ($payDate != $sendTimWant) {
+            $content .= '送货时间:<BR>';
+            $content .= '<B>' . $orderInfo['sendTimeWant'] . '</B><BR>';
+        }
+
         if (isset($respond['remark']) && !empty($respond['remark'])) {
             $content .= '备注:<BR>';
             $content .= '<B>' . $respond['remark'] . '</B><BR>';