shish před 5 měsíci
rodič
revize
eed8296dc1
1 změnil soubory, kde provedl 12 přidání a 2 odebrání
  1. 12 2
      biz-ghs/order/classes/OrderClass.php

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

@@ -1835,6 +1835,11 @@ class OrderClass extends BaseClass
                 }
             }
             //源花汇小票不带价格
+            if (isset($orderInfo->mainId) && $orderInfo->mainId == 62382) {
+                $showPrice = 0;
+            }
+
+            //三明易批花非洲菊 不带价格
             if (isset($orderInfo->mainId) && $orderInfo->mainId == 10536) {
                 $showPrice = 0;
             }
@@ -1922,7 +1927,12 @@ class OrderClass extends BaseClass
         if ($customId != $shop->skCustomId) {
             $content .= '<B>买家信息:</B><BR><BR>';
             $content .= '<B>' . $respond['custom']['customName'] . '</B><BR>';
-            $content .= '<B>' . $respond['custom']['customMobile'] . '</B><BR>';
+            if (isset($orderInfo->mainId) && $orderInfo->mainId == 62382) {
+                //三明易批花非洲菊,比较特殊,不要带客户手机号
+                $content .= '';
+            } else {
+                $content .= '<B>' . $respond['custom']['customMobile'] . '</B><BR>';
+            }
             if (isset($orderInfo['address']) && !empty($orderInfo['address'])) {
                 $content .= $respond['custom']['fullAddress'];
                 if (isset($orderInfo['showAddress']) && !empty($orderInfo['showAddress']) && $orderInfo['showAddress'] != $respond['custom']['fullAddress']) {
@@ -3039,7 +3049,7 @@ XL;
             $content = '<TEXT x="400" y="30" font="12" w="4" h="4" r="90">' . $shortName . '</TEXT>';
             $content .= '<TEXT x="290" y="30" font="12" w="2" h="3" r="90">' . $customName . '</TEXT>';
             $content .= '<TEXT x="195" y="30" font="12" w="1" h="2" r="90">' . $fullAddress . '</TEXT>';
-            $content .= '<TEXT x="128" y="30" font="12" w="2" h="2" r="90">' . $customMobile .' '.$itemNum.'扎</TEXT>';
+            $content .= '<TEXT x="128" y="30" font="12" w="2" h="2" r="90">' . $customMobile . ' ' . $itemNum . '扎</TEXT>';
             //福州易批花,不仅要自动打印,还要打印出物流名称
             if ($orderMainId == 25119) {
                 $content .= '<TEXT x="70" y="30" font="12" w="2" h="2" r="90">物流 ' . $wlName . '</TEXT>';