|
|
@@ -910,7 +910,7 @@ class OrderClass extends BaseClass
|
|
|
{
|
|
|
//58mm的机器,一行打印16个汉字,32个字母
|
|
|
$name = $current['name'] ?? '';
|
|
|
- $content .= $name . '<BR>';
|
|
|
+ $content .= "<B>".$name . '</B><BR>';
|
|
|
|
|
|
$productNum = $current['num'] ?? '';
|
|
|
$blankNum = bcsub(17, strlen($productNum)*2);
|
|
|
@@ -995,21 +995,20 @@ class OrderClass extends BaseClass
|
|
|
foreach ($respond['refund'] as $current) {
|
|
|
//58mm的机器,一行打印16个汉字,32个字母
|
|
|
$name = $current['name'] ?? '';
|
|
|
- $content .= $name . '<BR>';
|
|
|
- $name = str_repeat(' ', 10);
|
|
|
+ $content .= "<B>".$name . '</B><BR>';
|
|
|
|
|
|
$productNum = $current['num'] ?? '';
|
|
|
- $blankNum = bcsub(12, strlen($productNum));
|
|
|
+ $blankNum = bcsub(12, strlen($productNum)*2);
|
|
|
if ($blankNum > 0) {
|
|
|
$productNum = $productNum . str_repeat(' ', $blankNum);
|
|
|
}
|
|
|
|
|
|
$productPrice = $current['price'] ?? '';
|
|
|
- $blankNum = bcsub(7, strlen($productPrice));
|
|
|
+ $blankNum = bcsub(7, strlen($productPrice)*2);
|
|
|
if ($blankNum > 0) {
|
|
|
$productPrice = $productPrice . str_repeat(' ', $blankNum);
|
|
|
}
|
|
|
- $content .= $name . " " . $productNum . ' ' . $productPrice . '<BR>';
|
|
|
+ $content .= "<B>" . $productNum . ' ' . $productPrice . '</B><BR>';
|
|
|
}
|
|
|
$content .= '--------------------------------<BR>';
|
|
|
}
|