|
|
@@ -923,8 +923,12 @@ class OrderClass extends BaseClass
|
|
|
$c = CustomClass::getById($customId);
|
|
|
$debtAmount = $c['debtAmount'] ?? 0.00;
|
|
|
|
|
|
+ $fromType = $orderInfo['fromType'] ?? dict::getDict('fromType', 'shop');
|
|
|
+ $fromTypeMap = dict::getDict('fromTypeMap');
|
|
|
+ $fromTypeName = $fromTypeMap[$fromType] ?? '门店';
|
|
|
+
|
|
|
$respond = self::getPrintData($orderInfo, $debtAmount, $showItem);
|
|
|
- $content = '<B>' . $respond['sendNum'] . '</B><BR>';
|
|
|
+ $content = '<B>' . $respond['sendNum'] . ' ' . $fromTypeName . '</B><BR>';
|
|
|
$content .= '--------------------------------<BR>';
|
|
|
$content .= '<B>' . $respond['custom']['fullAddress'] . '</B><BR>';
|
|
|
$content .= '<B>' . $respond['custom']['customName'] . '</B><BR>';
|