cqp hace 3 meses
padre
commit
32353c64e3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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);