Доработка апи

pull/7/head
Rustem 2025-04-18 14:04:43 +05:00
parent 33ddc91e79
commit 3a9b1d35a6
1 changed files with 5 additions and 4 deletions

View File

@ -238,6 +238,7 @@ class MobileApiController extends Controller
'price' => $tariff?->base_rate,
'min' => $tariff?->day_range_start,
'max' => $tariff?->day_range_end,
'deposit' => $tariff?->deposit,
];
}
$carsByColor = $cars->groupBy('color_id');