maintained filteration in stay type in cost calculator

This commit is contained in:
2025-08-25 16:20:07 +05:45
parent dc32ac8f91
commit 658d3600a2
4 changed files with 184 additions and 166 deletions

View File

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