This commit is contained in:
unknown 2023-10-17 19:38:14 +08:00
parent b580c85738
commit 217c0166cd

View File

@ -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;