浏览代码

提交数据

lvhao 2 月之前
父节点
当前提交
69d45a36dc
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      core/CoreApp/controllers/Fullorder.php

+ 6 - 1
core/CoreApp/controllers/Fullorder.php

@@ -565,7 +565,12 @@ class Fullorder extends Start_Controller {
 				$warehousetitle = $warehouse['title'];
 				if($value['type'] != 13){$warehousetitle = "<font style='color:#f64b4b'>".$warehouse['title']."</font>";}
 				$info_list[$key]['type'] = $warehousetitle;
-				$info_list[$key]['email'] = '<em style="font-size: 13px;">'.$value['email'].'</em><br />'.$ud['phone'];
+				if(empty($ud['send_email'])){
+					$info_list[$key]['email'] = '<em style="font-size: 13px;">'.$value['email'].'</em><br />'.$ud['phone'];
+				}else{
+					$info_list[$key]['email'] = '<em style="font-size: 13px;">'.$value['email'].'</em><br />'.'<em style="font-size: 13px;">'.$ud['send_email'].'</em><br />'.$ud['phone'];
+				}
+				
 				$typeclass = $this->typeclass->read($value['state']);
 				$info_list[$key]['state'] = "<font style='font-size: 13px;'>".$typeclass['spare']."</font>";
 				/**