|
|
@@ -924,6 +924,22 @@ class OrderClass extends BaseClass
|
|
|
//云打印 ssh 20210709
|
|
|
public static function onlinePrint($orderInfo, $showPrice = 1)
|
|
|
{
|
|
|
+
|
|
|
+ if (getenv('YII_ENV') == 'production') {
|
|
|
+ //丽子鲜花,客户线上下单,小票上不显示价格
|
|
|
+ if (isset($orderInfo->shopId) && $orderInfo->shopId == 1527) {
|
|
|
+ if ($orderInfo->onlinePay == 2) {
|
|
|
+ $showPrice = 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if (isset($orderInfo->shopId) && $orderInfo->shopId == 36523) {
|
|
|
+ if ($orderInfo->onlinePay == 2) {
|
|
|
+ $showPrice = 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
$showItem = OrderClass::getShowItem(true, $orderInfo);
|
|
|
|
|
|
$customId = $orderInfo['customId'] ?? 0;
|