@extends('frontend::layouts.master') @section('content') @if (!empty($scholarship))
{{ $scholarship['name'] ?? '' }}
@if (!empty($scholarship['name'])) {!! $scholarship['name'] ?? '' !!} @endif {!! $scholarship['detail'] ?? '' !!} @lang('frontend::lang.register_interest_to_apply')
@endif

{{ $overview['name'] ?? '' }}

{!! $overview['detail'] ?? '' !!}
@if (!empty($should_apply['dt']) || !empty($should_apply['content']))
@if (!empty($should_apply['dt']['image']))
{{ $should_apply['dt']['name'] ?? '' }}
@endif
@if (!empty($should_apply['dt']['name']))

{!! $should_apply['dt']['name'] ?? '' !!}

@endif @if (!empty($should_apply['dt']['desc']))

{!! $should_apply['dt']['desc'] ?? '' !!}

@endif @if (!empty($should_apply['content']['list']))
@foreach ($should_apply['content']['list'] as $content)
{{ $content['name'] ?? '' }} {{-- --}}

{!! $content['name'] ?? '' !!}

{!! $content['desc'] ?? '' !!}

@endforeach
@endif
@endif @if (!empty($expectations))
@if (!empty($expectations['name']))

{!! $expectations['name'] ?? '' !!}

@endif {!! $expectations['detail'] ?? '' !!}
@endif @if (!empty($why_myis))
@if (!empty($why_myis['image'])) {{ $why_myis['name'] ?? '' }} @endif

{!! $why_myis['desc'] ?? '' !!}

{!! $why_myis['detail'] ?? '' !!}
@endif @if (!empty($pathways['content']) || !empty($pathways['dt']))

{!! $pathways['dt']['name'] ?? '' !!}

{!! $pathways['dt']['detail'] ?? '' !!}
@if (!empty($pathways['content']['list'])) @foreach ($pathways['content']['list'] as $k => $list)
@endforeach @endif
@endif @if (!empty($application_process['dt']) || !empty($application_process['content']))

{!! $application_process['dt']['name'] ?? '' !!}

{!! $application_process['dt']['desc'] ?? '' !!}

@if (!empty($application_process['content']['list'])) @php $steps = $application_process['content']['list']; $stepIndex = 0; @endphp @foreach (array_chunk($steps, 4) as $chunk)
@foreach ($chunk as $ls) @php $stepIndex++; @endphp
{{ sprintf('%02d', $stepIndex) }}

{!! $ls['name'] ?? '' !!}

{!! $ls['detail'] ?? '' !!}
@endforeach
@endforeach @endif
@if (!empty($application_process['dt']['publish_at']))

@lang('frontend::lang.deadline_to_apply') {{ date('d M Y', strtotime($application_process['dt']['publish_at'])) }}

@endif
@endif

{!! $register_interest_form['dt']['name'] ?? '' !!}

{!! $register_interest_form['dt']['desc'] ?? '' !!}

{!! $register_interest_form['dt']['detail'] ?? '' !!}

@csrf

{!! __('frontend::lang.student_information') !!}

{!! __('frontend::lang.parent_information') !!}

@if (!empty($option))
@foreach ($option as $item) @endforeach
@endif
@endsection