course finder view page completed

This commit is contained in:
2025-08-06 17:55:22 +05:45
parent 6772e269fb
commit 59e5392370
16 changed files with 3856 additions and 2435 deletions

View File

@@ -215,6 +215,22 @@ class WebsiteController extends Controller
return view("client.$this->path.pages.coursefinder-template", $data);
}
public function coursefinderSingle($id)
{
$course = $data["page"] = Program::where('status', 1)
->where('id', $id)
->first();
$data['intakeOptions'] = Program::INTAKE;
if (!$course) {
return view("client.$this->path.errors.404");
}
return view("client.raffles.pages.coursefinder-single", $data);
}
public function resources()
{
$data['countries'] = Country::where('status', 1)->where('parent_id', null)->get();