|
@@ -78,6 +78,7 @@ class InOutEvent
|
|
|
$data['inout_name'][] = $sheet['goods']['goods_name'] ?? '';
|
|
|
if (!isset($inoutObjectJson['order'])) {
|
|
|
$inoutObjectJson['order'][$params['orderId']] = [
|
|
|
+ 'ordertime' => date('Y-m-d H:i:s',strtotime($order->order_addtimes)),
|
|
|
'pay' => $order->order_amount_pay,
|
|
|
'classify' => $order->order_classify,
|
|
|
'discount' => $order->order_discount_json ?? json_decode($order->order_discount_json)
|