|
@@ -440,7 +440,7 @@ class OrderClass extends BaseClass
|
|
|
}
|
|
}
|
|
|
//--------------------------------------
|
|
//--------------------------------------
|
|
|
|
|
|
|
|
- $content .= '花材 数量 金额<BR>';
|
|
|
|
|
|
|
+ $content .= '花材 数量 金额<BR>';
|
|
|
$content .= '--------------------------------<BR>';
|
|
$content .= '--------------------------------<BR>';
|
|
|
|
|
|
|
|
// $content .= '饭 10.0 10 100.0<BR>';
|
|
// $content .= '饭 10.0 10 100.0<BR>';
|
|
@@ -467,16 +467,16 @@ class OrderClass extends BaseClass
|
|
|
$totalNum = strlen($name);
|
|
$totalNum = strlen($name);
|
|
|
$notZwNum = bcsub($totalNum, $zwNum * 3);
|
|
$notZwNum = bcsub($totalNum, $zwNum * 3);
|
|
|
$holdNum = bcadd($notZwNum, $zwNum * 2);
|
|
$holdNum = bcadd($notZwNum, $zwNum * 2);
|
|
|
- $blankNum = bcsub(16, $holdNum);
|
|
|
|
|
|
|
+ $blankNum = bcsub(15, $holdNum);
|
|
|
|
|
|
|
|
$name = $name . str_repeat(' ', $blankNum);
|
|
$name = $name . str_repeat(' ', $blankNum);
|
|
|
|
|
|
|
|
$productNum = $current['num'] ?? '';
|
|
$productNum = $current['num'] ?? '';
|
|
|
- $blankNum = bcsub(9, strlen($productNum));
|
|
|
|
|
|
|
+ $blankNum = bcsub(8, strlen($productNum));
|
|
|
$productNum = $productNum . str_repeat(' ', $blankNum);
|
|
$productNum = $productNum . str_repeat(' ', $blankNum);
|
|
|
|
|
|
|
|
$productPrice = $current['price'] ?? '';
|
|
$productPrice = $current['price'] ?? '';
|
|
|
- $blankNum = bcsub(7, strlen($productPrice));
|
|
|
|
|
|
|
+ $blankNum = bcsub(9, strlen($productPrice));
|
|
|
$productPrice = $productPrice . str_repeat(' ', $blankNum);
|
|
$productPrice = $productPrice . str_repeat(' ', $blankNum);
|
|
|
|
|
|
|
|
$content .= $name . " " . $productNum . ' ' . $productPrice . '<BR>';
|
|
$content .= $name . " " . $productNum . ' ' . $productPrice . '<BR>';
|