master
Rustem 2025-05-24 19:07:57 +05:00
parent 75e4922ec5
commit 23b2fdb22c
1 changed files with 5 additions and 0 deletions

View File

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