@php /* * @param App\Model\Process $process * @param string $sender agent or staff * @param string $content 전송내용 */ $country = ConfigCode::getCode('COUNTRY', $process->code_country); $uhaktype = ConfigCode::getCode('UHAKTYPE', $process->code_uhaktype); $uhakcourse = ConfigCode::getCode('UHAKCOURSE', $process->code_uhakcourse, $uhaktype->code_id); if ($country) $country = $country->name; if ($uhaktype) $uhaktype = $uhaktype->name; if ($uhakcourse) $uhakcourse = $uhakcourse->name; $schools = $process->school; @endphp 에이전트 포탈 서비스
@if (isset($sender) && $sender === 'staff') @php $member = App\Model\MemberStaff::find($process->staff_charge_id); @endphp @else @php $agency = App\Model\Agency::find($process->agency_id); @endphp @endif
{{ Lang::get('mail.word.student_name.short') }} {{ $process->name or '' }}{{ Lang::get('mail.word.edm_representative.short') }} {{ $member ? $member->name.($member->jobpositionName ? ' '.$member->jobpositionName : '') : '' }}{{ Lang::get('mail.word.agency_name.short') }} {{ $agency ? $agency->name : '' }}
{{ Lang::get('mail.word.country.short') }} {{ $country or '' }} {{ Lang::get('mail.word.study_type.short') }} {{ $uhaktype or '' }}{{ $uhakcourse ? ' / '.$uhakcourse : '' }}
{{ Lang::get('mail.word.school_name.short') }} @if ($schools) @foreach ($schools as $school)

{{ $school->school_name or '' }}

@endforeach @endif
{!! $content ? nl2br($content) : '' !!}
에이전트 포탈 서비스 {{ Lang::get('mail.word.link') }}