shish 1 ano atrás
pai
commit
52d2931d7f
1 arquivos alterados com 10 adições e 2 exclusões
  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];
                                 }
                                 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->save();
                                 }
@@ -453,7 +457,11 @@ class NoticeController extends PublicController
                                     $needTwoPrint = [644];
                                 }
                                 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)) {
                                         $order->printNum += 1;
                                         $order->save();