shish 2 سال پیش
والد
کامیت
effa8aa555
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      biz-ghs/order/classes/PurchaseOrderClass.php

+ 6 - 0
biz-ghs/order/classes/PurchaseOrderClass.php

@@ -423,6 +423,12 @@ class PurchaseOrderClass extends BaseClass
         }
         $content .= "<BR>";
         $content .= "<BR>";
+        $host = Yii::$app->params['hdHost'];
+        $orderSn = $orderInfo->orderSn ?? '';
+        $salt = $orderInfo->salt ?? '';
+        $content .= "<QR>" . $host . "/#/pagesPurchase/info?orderSn=" . $orderSn . "&salt=" . $salt . "</QR>";
+        $content .= "<BR>";
+
         $ext = ShopExtClass::getByCondition(['shopId' => $shopId]);
         $printSn = $ext['wcPrintSn'] ?? '';
         if ($firstPrint) {