Browse Source

胡庆余堂

cqp 3 months ago
parent
commit
bc410e662b
1 changed files with 1 additions and 0 deletions
  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 = $customer->toArray();
         $customer['crt_name'] = Employee::where('id',$customer['crt_id'])->value('emp_name');
         $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['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') : "";
         $customer['item_title'] = $customer['item_id'] ? Item::where('id',$customer['item_id'])->value('title') : "";
 
 
         $details = $this->getDetail($data['id']);
         $details = $this->getDetail($data['id']);