feat: Enhance cost calculator functionality with new cost retrieval route and result display

This commit is contained in:
2025-08-18 17:00:40 +05:45
parent ba055ce495
commit 6b4a9f1ebe
7 changed files with 261 additions and 19 deletions

View File

@@ -18,10 +18,6 @@ class CostCalculatorService
$query->where("stay_type_id", $request->stay_type_id);
}
if ($request->filled('program_id')) {
Program::where('status', 1)-> where('id', $request->program_id)->get();
}
})->latest()->paginate(10)->withQueryString();
}