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