|
|
@@ -1602,8 +1602,11 @@ class OrderClass extends BaseClass
|
|
|
} else {
|
|
|
$show = $lastNum . $unitName . ' ' . $name;
|
|
|
}
|
|
|
-
|
|
|
- $content .= '<B>' . $show . '</B><BR>';
|
|
|
+ if ($fontSizeType == 1) {
|
|
|
+ $content .= $show . '<BR>';
|
|
|
+ } else {
|
|
|
+ $content .= '<B>' . $show . '</B><BR>';
|
|
|
+ }
|
|
|
if ($refundNum > 0) {
|
|
|
$content .= '(买' . $itemNum . $unitName . ' 退' . $refundNum . $unitName . ')<BR>';
|
|
|
}
|
|
|
@@ -2132,9 +2135,9 @@ class OrderClass extends BaseClass
|
|
|
//58mm的机器,一行打印16个汉字,32个字母
|
|
|
$name = $current['name'] ?? '';
|
|
|
$count = $current['count'] ?? '';
|
|
|
- if($orderMainId == 85744 || $orderMainId == 644){
|
|
|
+ if ($fontSizeType == 1) {
|
|
|
$content .= $name . ' ' . $count . '<BR>';
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
$content .= '<B>' . $name . ' ' . $count . '</B><BR>';
|
|
|
}
|
|
|
$content .= '--------------------------------<BR>';
|