shish пре 1 година
родитељ
комит
179cd8ba54

+ 8 - 8
app-hd/controllers/NoticeController.php

@@ -187,8 +187,8 @@ class NoticeController extends PublicController
                         if (isset($order->needPrint) && $order->needPrint == dict::getDict('needPrint', 'need')) {
                             //有几个地方要同步去修改
                             if (getenv('YII_ENV') == 'production') {
-                                //源花汇不自动打小票
-                                $mallOrderNoPrint = [10536];
+                                //源花汇、盛丰不自动打小票,关键词mall_order_no_auto_print
+                                $mallOrderNoPrint = [10536,44282];
                             } else {
                                 $mallOrderNoPrint = [];
                             }
@@ -412,8 +412,8 @@ class NoticeController extends PublicController
                         if (isset($order->needPrint) && $order->needPrint == dict::getDict('needPrint', 'need')) {
                             //有几个地方要同步去修改
                             if (getenv('YII_ENV') == 'production') {
-                                //源花汇不自动打小票
-                                $mallOrderNoPrint = [10536];
+                                //源花汇、盛丰不自动打小票,关键词mall_order_no_auto_print
+                                $mallOrderNoPrint = [10536,44282];
                             } else {
                                 $mallOrderNoPrint = [];
                             }
@@ -549,8 +549,8 @@ class NoticeController extends PublicController
                         if (isset($order->needPrint) && $order->needPrint == dict::getDict('needPrint', 'need')) {
                             //有几个地方要同步去修改
                             if (getenv('YII_ENV') == 'production') {
-                                //源花汇不自动打小票
-                                $mallOrderNoPrint = [10536];
+                                //源花汇、盛丰不自动打小票,关键词mall_order_no_auto_print
+                                $mallOrderNoPrint = [10536,44282];
                             } else {
                                 $mallOrderNoPrint = [];
                             }
@@ -787,8 +787,8 @@ class NoticeController extends PublicController
                             if (isset($order->needPrint) && $order->needPrint == dict::getDict('needPrint', 'need')) {
                                 //有几个地方要同步去修改
                                 if (getenv('YII_ENV') == 'production') {
-                                    //源花汇不自动打小票
-                                    $mallOrderNoPrint = [10536];
+                                    //源花汇、盛丰不自动打小票,关键词mall_order_no_auto_print
+                                    $mallOrderNoPrint = [10536,44282];
                                 } else {
                                     $mallOrderNoPrint = [];
                                 }

+ 2 - 2
app-hd/controllers/PurchaseController.php

@@ -678,8 +678,8 @@ class PurchaseController extends BaseController
                 if (isset($order->needPrint) && $order->needPrint == dict::getDict('needPrint', 'need')) {
                     //有几个地方要同步去修改
                     if (getenv('YII_ENV') == 'production') {
-                        //源花汇不自动打小票
-                        $mallOrderNoPrint = [10536];
+                        //源花汇、盛丰不自动打小票,关键词mall_order_no_auto_print
+                        $mallOrderNoPrint = [10536,44282];
                     } else {
                         $mallOrderNoPrint = [];
                     }

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

@@ -1896,8 +1896,8 @@ class OrderClass extends BaseClass
         $content .= "<BR>";
 
         if (getenv('YII_ENV') == 'production') {
-            //丽子鲜花、花样年华、镜中花卉、满天星、世纪花都不显示扫码买花
-            if (!in_array($orderInfo->shopId, [1527, 1585, 1596, 16454, 33668, 38492, 36596, 35389, 38322, 43274, 40312])) {
+            //丽子鲜花、花样年华、镜中花卉、满天星、世纪花、盛丰都不显示扫码买花
+            if (!in_array($orderInfo->shopId, [1527, 1585, 1596, 16454, 33668, 38492, 36596, 35389, 38322, 43274, 40312, 44556])) {
                 //勇记、国恋、花悠星零售开单不需要打印扫码买花
                 if ($customId != 12145 || $customId != 12487 || $customId != 12281) {
                     $content .= "<BR>";