shish 1 년 전
부모
커밋
52d2931d7f
1개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  1. 10 2
      app-hd/controllers/NoticeController.php

+ 10 - 2
app-hd/controllers/NoticeController.php

@@ -222,7 +222,11 @@ class NoticeController extends PublicController
                                     $needTwoPrint = [644];
                                     $needTwoPrint = [644];
                                 }
                                 }
                                 if (in_array($order->mainId, $needTwoPrint)) {
                                 if (in_array($order->mainId, $needTwoPrint)) {
-                                    OrderClass::onlinePrint($order);
+                                    if ($order->mainId == 7538) {
+                                        OrderClass::onlinePrint($order, 0);
+                                    } else {
+                                        OrderClass::onlinePrint($order);
+                                    }
                                     $order->printNum += 1;
                                     $order->printNum += 1;
                                     $order->save();
                                     $order->save();
                                 }
                                 }
@@ -453,7 +457,11 @@ class NoticeController extends PublicController
                                     $needTwoPrint = [644];
                                     $needTwoPrint = [644];
                                 }
                                 }
                                 if (in_array($order->mainId, $needTwoPrint)) {
                                 if (in_array($order->mainId, $needTwoPrint)) {
-                                    OrderClass::onlinePrint($order);
+                                    if ($order->mainId == 7538) {
+                                        OrderClass::onlinePrint($order, 0);
+                                    } else {
+                                        OrderClass::onlinePrint($order);
+                                    }
                                     if (isset($ext->printSn) && !empty($ext->printSn)) {
                                     if (isset($ext->printSn) && !empty($ext->printSn)) {
                                         $order->printNum += 1;
                                         $order->printNum += 1;
                                         $order->save();
                                         $order->save();