maintained filteration in stay type in cost calculator
This commit is contained in:
@@ -14,10 +14,9 @@ class CostCalculatorService
|
||||
$query->where('country_id', $request->country_id);
|
||||
}
|
||||
|
||||
if ($request->filled('stay_type_id')) {
|
||||
$query->where("stay_type_id", $request->stay_type_id);
|
||||
}
|
||||
|
||||
// if ($request->filled('stay_type_id')) {
|
||||
// $query->where("stay_type_id", $request->stay_type_id);
|
||||
// }
|
||||
})->latest()->paginate(10)->withQueryString();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user