Merge pull request 'fixed' (#98) from zhangwei into dev
Reviewed-on: #98
This commit is contained in:
commit
45624625f4
@ -273,6 +273,7 @@ class VehicleContractController extends BaseAdminController
|
||||
$rent_info = VehicleRent::where('car_id',$v['id'])->findOrEmpty();
|
||||
if(!$rent_info->isEmpty()){
|
||||
$cars[$k]['type'] = $rent_info['type'];
|
||||
$cars[$k]['rent_time'] = $rent_info['rent_time'];
|
||||
}
|
||||
}
|
||||
$data['cars_info'] = $cars;
|
||||
|
Loading…
x
Reference in New Issue
Block a user