cqp 3 сар өмнө
parent
commit
32353c64e3

+ 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);