@extends('client.raffles.layouts.app') @section('content')

Course-Finder

With so many courses and universities to choose from, deciding where and what to study abroad can be a daunting task. Don't worry, we are here to guide you during the entire process.

{{ html()->form('GET')->route('program.coursefinder')->class(['filter-course-form'])->attributes(['id' => 'filter-course-form'])->open() }}

Browse Subjects

{{ html()->text('search')->placeholder('Search Program...')->class('form-control px-10 py-10')->style('width: 95%;') }}

Browse Through Category

{{ html()->select('country_id', $countryOptions)->value(request('country_id'))->placeholder('Select Country')->class('form-select choices-select countryDropdown w-full py-10 px-5 text-14') }}
{{ html()->select('institution_id', $institutionOptions)->value(request('institution_id'))->placeholder('Select Institution')->class('form-select institutionDropdown w-full py-10 px-5 text-14') }}
{{ html()->select('programlevel_id', $programLevelOptions)->value(request('programlevel_id'))->placeholder('Select Program Level')->class('form-select choices-select w-full py-10 px-5 text-14') }}
{{ html()->select('intake_id', $intakeOptions)->value(request('intake_id'))->placeholder('Select Intake')->class('form-select choices-select w-full py-10 px-5 text-14') }}
@php $statusList = config('constants.page_status_options'); $hasClass = false; $hasStatus = false; if (request()->has('class_id')) { $hasClass = true; } if (request()->has('status')) { $hasStatus = true; } @endphp
{{ html()->select('test_id', $testOptions)->value(request('test_id'))->placeholder('Test Proficiency')->class('form-select choices-select w-full py-10 px-5 text-14') }}
{{ html()->text('min_score')->class('form-control form-control-sm numeric bg-light text-14 px-5 py-10 w-50percent')->placeholder('Min score') }} {{ html()->text('max_score')->class('form-control form-control-sm numeric bg-light text-14 px-5 py-10 w-50percent')->placeholder('Max score') }}
@forelse ($programs as $item)

Available Courses

{{ $item->title }}

{{ $item->institution?->title }} {{ $item->institution?->country?->title }}
Code: {{ !empty($item->code) ? $item->code : 'N/A' }}
Fee: {{ !empty($item->fee) ? $item->fee : 'N/A' }}
Schlorship: {{ !empty($item->scholarship) ? $item->scholarship : 'N/A' }}
Level: {{ !empty($item->programlevel?->title) ? $item->programlevel?->title : 'N/A' }}
Duration: {{ !empty($item->year) ? $item->year : 'N/A' }}
PSW: {{ !empty($item->psw) ? $item->psw : 'N/A' }}
@foreach ($item->tests as $index => $test)
{{ $test->title }}: {{ $test->pivot?->min_score }} ({{ $test->pivot?->band_score }})
@endforeach
@if (!empty($item->intakes))
Intake:
@forelse ($item->intakes as $value)
{{ $intakeOptions[$value] }}
@empty N/A @endforelse @endif
@empty

No Course Found !!!

@endforelse {{ $programs->links() }}

Get Your Free Counselling!

@csrf
{{ html()->form()->close() }}
@endsection