|
|
@@ -283,7 +283,7 @@ class NoticeController extends PublicController
|
|
|
}
|
|
|
Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 864000, 'has']);
|
|
|
|
|
|
- //零售采购结账通知
|
|
|
+ //零售采购通知
|
|
|
if ($capitalType == dict::getDict('capitalType', 'xhPurchase', 'id')) {
|
|
|
$cg = PurchaseClass::getByCondition(['orderSn' => $orderSn], true);
|
|
|
if (!empty($cg) && $cg->payStatus == 1) {
|
|
|
@@ -297,6 +297,10 @@ class NoticeController extends PublicController
|
|
|
$order->printNum += 1;
|
|
|
$order->save();
|
|
|
}
|
|
|
+ //如果是门店用手机开单,让客户扫码付款的,则也要语音提示
|
|
|
+ if (isset($order->shopAdminId) && $order->shopAdminId > 0) {
|
|
|
+ ShopExtClass::ghsGatheringReport($order);
|
|
|
+ }
|
|
|
$cgShopId = $cg->shopId ?? 0;
|
|
|
$cgShop = ShopClass::getById($cgShopId, true);
|
|
|
if (!empty($cgShop)) {
|