mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
小票增加规格展示
This commit is contained in:
parent
8d7f1aa1a4
commit
d28606305a
@ -70,7 +70,7 @@ class FeiEYun extends BasePrinter
|
||||
$this->printerContent .= '名称 单价 数量 金额<BR>';
|
||||
$this->printerContent .= '--------------------------------<BR>';
|
||||
foreach ($product as $item) {
|
||||
$name = $item['productInfo']['store_name'];
|
||||
$name = $item['productInfo']['store_name'] . " | " . $item['productInfo']['attrInfo']['suk'];
|
||||
$price = $item['truePrice'];
|
||||
$num = $item['cart_num'];
|
||||
$prices = bcmul((string)$item['cart_num'], (string)$item['truePrice'], 2);
|
||||
|
||||
@ -72,7 +72,7 @@ class YiLianYun extends BasePrinter
|
||||
foreach ($product as $item) {
|
||||
$goodsStr .= '<tr>';
|
||||
$price = bcmul((string)$item['cart_num'], (string)$item['truePrice'], 2);
|
||||
$goodsStr .= "<td>{$item['productInfo']['store_name']}</td><td>{$item['cart_num']}</td><td>{$item['truePrice']}</td><td>{$price}</td>";
|
||||
$goodsStr .= "<td>{$item['productInfo']['store_name']} | {$item['productInfo']['attrInfo']['suk']}</td><td>{$item['cart_num']}</td><td>{$item['truePrice']}</td><td>{$price}</td>";
|
||||
$goodsStr .= '</tr>';
|
||||
unset($price);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user