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

+ 1 - 0
app/Service/DeviceService.php

@@ -150,6 +150,7 @@ class DeviceService 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['in_time'] = $customer['in_time'] ? date("Y-m-d",$customer['in_time']): '';
 
         $details = $this->getDetail($data['id']);
         $customer = array_merge($customer, $details);