|
|
@@ -18,7 +18,6 @@ class ShopExtClass extends BaseClass
|
|
|
public static function beforeCancelPrint($shopId, $order)
|
|
|
{
|
|
|
$shop = ShopClass::getById($shopId, true);
|
|
|
-
|
|
|
$orderSn = $order->orderSn ?? '';
|
|
|
$actPrice = $order->actPrice ?? 0;
|
|
|
$sjId = $shop->sjId ?? 0;
|
|
|
@@ -26,18 +25,15 @@ class ShopExtClass extends BaseClass
|
|
|
$sjName = $sj->name ?? '';
|
|
|
$shopName = $shop->shopName ?? '';
|
|
|
$currentName = $shopName == '首店' ? $sjName : $sjName . ' ' . $shopName;
|
|
|
-
|
|
|
$content = "<CB>" . $currentName . "</CB><BR><BR>";
|
|
|
$content .= "<CB>订单即将过期</CB><BR>";
|
|
|
-
|
|
|
$content .= '--------------------------------<BR>';
|
|
|
$content .= '<CB>订单号</CB><BR>';
|
|
|
$content .= '<CB>' . $orderSn . '</CB><BR>';
|
|
|
$content .= "<CB>订单金额</CB><BR>";
|
|
|
$content .= "<CB>{$actPrice}</CB><BR>";
|
|
|
$content .= '--------------------------------<BR>';
|
|
|
-
|
|
|
- $content .= '<CB>买家信息:</CB><BR><BR>';
|
|
|
+ $content .= '<CB>买家信息</CB><BR><BR>';
|
|
|
$content .= '<CB>' . $order->customName . '</CB><BR>';
|
|
|
$content .= '<CB>' . $order->customMobile . '</CB><BR>';
|
|
|
$content .= '--------------------------------<BR>';
|
|
|
@@ -52,7 +48,6 @@ class ShopExtClass extends BaseClass
|
|
|
$p = new printUtil($printSn);
|
|
|
$p->printMsg($content, $shop, $orderSn);
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
|
|
|
}
|