학교 종류
{{ $school->ext->language_type }}
전체
{{ $school->ext->language_total_students }}명
학급
{{ $school->ext->language_students_per_class }}명
한인비율
{{ $school->ext->language_korean_students }}
@php
$country_code = match ($school->country) {
1 => 'uk',
5 => 'us',
6 => 'ca',
default => ''
};
if ($country_code) {
$school_type = $school->ext->{'boarding_school_type_'.$country_code};
} else $school_type = '';
@endphp
- 학교 종류
- {{ $school_type }}
- 과정
- {{ $school->ext->boarding_school_type2 }}
@php
if ($uhak_type==2) {
$school_type = $school->ext->formal_school_type;
$process = $school->ext->formal_process;
} else {
$school_type = $school->ext->art_school_type;
$process = $school->ext->art_process;
}
@endphp
- 학교 종류
- {{ $school_type }}
@if (!empty($process))
- 과정
- {!! str_replace('|', ', ', $process) !!}
@endif