public function show($vehiclesCurrenciesAllotment) { $vehiclesCurrenciesAllotment = VehiclesCurrenciesAllotment::find($vehiclesCurrenciesAllotment); $vehiclesCurrenciesAllotment = VehiclesCurrenciesAllotment::with(['currency', 'updatedBy', 'vehicle'])->where('id', $vehiclesCurrenciesAllotment->id)->first(); return response(['data' => $vehiclesCurrenciesAllotment, 'status' => 'success', 'message' => '']); }