feat : chef name
This commit is contained in:
@@ -185,7 +185,8 @@ class OrderInfoService extends BaseService
|
|||||||
'chef_name' => $chefList[$item['sku_id']]['chinese_name'] ?? '',
|
'chef_name' => $chefList[$item['sku_id']]['chinese_name'] ?? '',
|
||||||
'order_good_id' => $item['id'],
|
'order_good_id' => $item['id'],
|
||||||
'is_comment' => $item['is_comment'],
|
'is_comment' => $item['is_comment'],
|
||||||
'id' => $item['sku_id'],
|
'sku_id' => $item['sku_id'],
|
||||||
|
'id' => $item['id'],
|
||||||
];
|
];
|
||||||
$oneCopiesInfo['total_price'] = bcadd((string)$oneCopiesInfo['total_price'], bcmul((string)$item['unit_price'],(string)$item['quantity'],2), 2);
|
$oneCopiesInfo['total_price'] = bcadd((string)$oneCopiesInfo['total_price'], bcmul((string)$item['unit_price'],(string)$item['quantity'],2), 2);
|
||||||
$oneCopiesInfo['total_quantity'] += $item['quantity'];
|
$oneCopiesInfo['total_quantity'] += $item['quantity'];
|
||||||
|
|||||||
Reference in New Issue
Block a user