cqp 2 месяцев назад
Родитель
Сommit
bc410e662b
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/Service/RDService.php

+ 1 - 0
app/Service/RDService.php

@@ -190,6 +190,7 @@ class RDService extends Service
         $customer = $customer->toArray();
         $customer['crt_name'] = Employee::where('id',$customer['crt_id'])->value('emp_name');
         $customer['crt_time'] = $customer['crt_time'] ? date("Y-m-d H:i:s",$customer['crt_time']): '';
+        $customer['order_time'] = $customer['order_time'] ? date("Y-m-d",$customer['order_time']): '';
         $customer['item_title'] = $customer['item_id'] ? Item::where('id',$customer['item_id'])->value('title') : "";
 
         $details = $this->getDetail($data['id']);