|
|
@@ -928,7 +928,6 @@ class OrderClass extends BaseClass
|
|
|
$mobile = $staff->mobile ?? '';
|
|
|
|
|
|
$customId = $orderInfo['customId'] ?? 0;
|
|
|
- $ghsId = $orderInfo['ghsId'] ?? 0;
|
|
|
$c = CustomClass::getById($customId);
|
|
|
$debtAmount = $c['debtAmount'] ?? 0.00;
|
|
|
|
|
|
@@ -1021,6 +1020,7 @@ class OrderClass extends BaseClass
|
|
|
$shopId = $orderInfo['shopId'] ?? 0;
|
|
|
$shop = ShopClass::getById($shopId, true);
|
|
|
$sjId = $shop->sjId ?? 0;
|
|
|
+ $telephone = $shop->telephone ?? '';
|
|
|
$sj = SjClass::getById($sjId, true);
|
|
|
$sjName = $sj->name ?? '';
|
|
|
$currentName = $sjName;
|
|
|
@@ -1037,7 +1037,7 @@ class OrderClass extends BaseClass
|
|
|
$content .= '订单编号:' . $respond['orderSn'] . '<BR>';
|
|
|
$content .= '门店名称:' . $currentName . '<BR>';
|
|
|
if (!empty($mobile)) {
|
|
|
- $content .= '联系电话:' . $mobile . '<BR>';
|
|
|
+ $content .= '联系电话:' . $telephone . '<BR>';
|
|
|
}
|
|
|
|
|
|
$content .= "<BR>";
|