diff --git a/app/Services/PatientOrderService.php b/app/Services/PatientOrderService.php index 2ebd71f..10cdc0f 100644 --- a/app/Services/PatientOrderService.php +++ b/app/Services/PatientOrderService.php @@ -3072,6 +3072,11 @@ class PatientOrderService extends BaseService unset($hospital); unset($user_doctor); } + + if (in_array($item['order_service_status'],[3,4,5])){ + $item['start_time'] = date('Y-m-d H:i',strtotime($item['start_time'])); + $item['finish_time'] = date('Y-m-d H:i',strtotime($item['finish_time'])); + } } return success($order_service_package);