gorden 4 ヶ月 前
コミット
7bdba766d0
1 ファイル変更1 行追加0 行削除
  1. 1 0
      app/event/statistics/InOutEvent.php

+ 1 - 0
app/event/statistics/InOutEvent.php

@@ -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)