fiexd
This commit is contained in:
parent
08f6888d62
commit
054a723fbd
@ -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()){
|
||||
|
Loading…
x
Reference in New Issue
Block a user