Преглед изворни кода

在打印的时候 将替换的邮箱改编成为客户替换掉

lvhao пре 5 дана
родитељ
комит
52ae3a127e
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      core/CoreApp/controllers/Systemprint.php

+ 1 - 0
core/CoreApp/controllers/Systemprint.php

@@ -1945,6 +1945,7 @@ class Systemprint extends Start_Controller {
 		$fullorder['printcode'] = $express['printcode'];
 		$fullorder['printcode'] = $express['printcode'];
 		$fullorder['time'] = date('Y-m-d',time());
 		$fullorder['time'] = date('Y-m-d',time());
 		$fullorder['times'] = date('Y-m-d H:i',time());
 		$fullorder['times'] = date('Y-m-d H:i',time());
+		$fullorder['email'] = empty($fullorder['send_email'])?$fullorder['email']:$fullorder['send_email'];
 // 		$fullorder['sbbm']= ($fullorder['sbpm'] == 'Hair Sample') ? 67042000 : 67041100;
 // 		$fullorder['sbbm']= ($fullorder['sbpm'] == 'Hair Sample') ? 67042000 : 67041100;
 //      修复报关编码问题
 //      修复报关编码问题
 	    $declara_info = $this->customsdeclaration->find("ename like '%".trim($fullorder['sbpm'])."%' ","*");
 	    $declara_info = $this->customsdeclaration->find("ename like '%".trim($fullorder['sbpm'])."%' ","*");