@php /** * 계약서 목록 */ @endphp @push('css') @endpush @forelse ($contractInfo as $info) @php $fileName = $info->file->count() ? $info->file->first()->name : ''; $manager = $contractManager->where('emm_uid', $info->manager)->first(); @endphp @empty @endforelse
{{ Lang::get('school.word.contract_status.short') }} {{ Lang::get('school.word.file_name.short') }} {{ Lang::get('school.word.commission') }} {{ Lang::get('school.word.contract_period') }} {{ Lang::get('school.word.manager') }}
{{ $info->contract_term_status_label }} {{ $fileName }} @if ($info->fn_commission !== null) {{ Lang::get('school.word.internal.short') }} {{ sprintf('%05.2f%%', $info->fn_commission) }} @endif @if ($info->ec_commission !== null) {{ Lang::get('school.word.external.short') }} {{ sprintf('%05.2f%%', $info->ec_commission) }} @endif {{ $info->start_date ? $info->start_date->format('Y.m.d') : '' }}  ~  {{ $info->end_date ? $info->end_date->format('Y.m.d') : '' }} {{ $manager ? $manager->emm_name : '' }}
{{ Lang::get('template_school.desc.no_data') }}
@include('template.table_pagination', [ 'resources' => $contractInfo, ])