master
parent
75e4922ec5
commit
23b2fdb22c
|
|
@ -279,6 +279,11 @@ class MobileApiController extends Controller
|
|||
continue;
|
||||
}
|
||||
|
||||
$tariffs = UniModel::model('pipi_auto_tariffs')->where('model_id', $mark->id)->get();
|
||||
if ($tariffs->isEmpty()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!$this->checkAvailableCar($started_at, $ended_at, $mark->id)) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue