feat : order info
This commit is contained in:
@@ -143,7 +143,7 @@ class OrderInfoService extends BaseService
|
||||
'title' => $skuList[$item['sku_id']]['title'] ?? '',
|
||||
'unit_price' => $item['unit_price'],
|
||||
'quantity' => $item['quantity'],
|
||||
'price' => bcmul($item['unit_price'], $item['quantity'], 2),
|
||||
'price' => bcmul((string)$item['unit_price'], (string)$item['quantity'], 2),
|
||||
'chef_name' => $chefList[$spuList[$skuList[$item['sku_id']['spu_id']]['chef_id']]]['chinese_name'] ?? '',
|
||||
];
|
||||
$oneCopiesInfo['total_price'] = bcadd((string)$oneCopiesInfo['total_price'], bcmul((string)$item['unit_price'],(string)$item['quantity'],2), 2);
|
||||
|
||||
Reference in New Issue
Block a user