...
|
...
|
@@ -49,7 +49,7 @@ class AdminOrderController extends AdminBaseController{ |
|
|
->where($where)
|
|
|
->order('start_time','desc')
|
|
|
->paginate(10)->each(function ($item){
|
|
|
$item['time']=($item['end_time']-$item['start_time']);
|
|
|
$item['time']=ceil(($item['end_time']-$item['start_time'])/3600);
|
|
|
return $item;
|
|
|
});
|
|
|
$this->assign('data',$data);
|
...
|
...
|
|