| xqd
@@ -58,12 +58,9 @@ class OrderNurseController extends AdminController
|
|
|
return User::where('id',$w)->value('nickname');
|
|
|
});
|
|
|
$grid->column('patients.appoint_start_time', __('预约时间'))->display(function ($w){
|
|
|
- return date('Y-m-d H:i:s',$w);
|
|
|
+ return date('Y-m-d H:i',$w).'~'.date('H:i',$this->patients->appoint_end_time);
|
|
|
});
|
|
|
|
|
|
- $grid->column('patients.appoint_end_time', __('儿保时间'))->display(function ($w){
|
|
|
- return date('Y-m-d H:i:s',$w);
|
|
|
- });
|
|
|
$grid->column('patients.name', __('儿保患者'));
|
|
|
$grid->column('patients.phone', __('电话'))->display(function ($w){
|
|
|
if(empty($w)) return $this->patients->phone;
|