This commit is contained in:
unknown 2023-10-12 11:17:45 +08:00
parent 08f6888d62
commit 054a723fbd

View File

@ -101,7 +101,7 @@ class ContractController extends BaseApiController
}
}
$status = 2;
}else if($contract['type'] == 1) {
}else if($contract['type'] == 3) {
foreach($cars as $v){
$hasCar = VehicleRent::where('car_id',$v['id'])->findOrEmpty();
if($hasCar->isEmpty()){