{!! __("lang.{$section_title}.title") !!}
{{-- foreigner_coe --}}
@if($table == 'foreigner_coe')
@endif
{{-- foreigner_family --}}
@if($table == 'foreigner_family')
@endif
{{-- foreigner_vaccine --}}
@if($table == 'foreigner_vaccine')
@endif
{{-- foreigner_workplace --}}
@if($table == 'foreigner_workplace')
@endif
{!! Form::select("foreigner_coe[mtb_coe_id]", $coe_list, (isset($foreigner_coe)) ? $foreigner_coe['mtb_coe_id'] : '', [
'class' => 'form-select',
]) !!}
{!! Form::date('foreigner_coe[date_issue]', (isset($foreigner_coe)) ? $foreigner_coe['date_issue'] : '', [
'class' => 'form-control',
]) !!}
{!! Form::date('foreigner_coe[date_expiry]', (isset($foreigner_coe)) ? $foreigner_coe['date_expiry'] : '', [
'class' => 'form-control',
]) !!}
{!! Form::file('foreigner_coe[file_front]', [
'class' => 'form-control',
]) !!}
{!! Form::file('foreigner_coe[file_back]', [
'class' => 'form-control',
]) !!}
@for($i = 0; $i <= 1; $i++)
@endfor
@for($i = 0; $i <= 1; $i++)
@endfor
@for($i = 0; $i <= 1; $i++)
@endfor
{!! Form::textarea('foreigner_coe[remark]', (isset($foreigner_coe)) ? $foreigner_coe['remark'] : '', [
'class' => 'form-control',
'rows' => '6',
]) !!}
{!! Form::select("foreigner_family[mtb_relationship_id]", $relationship_list, (isset($foreigner_family)) ? $foreigner_family['mtb_relationship_id'] : '', [
'class' => 'form-select',
]) !!}
{!! Form::text('foreigner_family[foreigner_family_name]', (isset($foreigner_family)) ? $foreigner_family['foreigner_family_name'] : '', [
'class' => 'form-control',
]) !!}
{!! Form::text('foreigner_family[foreigner_family_kana]', (isset($foreigner_family)) ? $foreigner_family['foreigner_family_kana'] : '', [
'class' => 'form-control',
]) !!}
{!! Form::selectRange("birthday[yy]", 1950, 2000, (isset($foreigner_family)) ? ((!is_null($foreigner_family['birthday'])) ? \Carbon\Carbon::parse($foreigner_family['birthday'])->format('Y') : 1970) : 1970, [
'class' => 'form-select',
]) !!}
年
{!! Form::selectRange("birthday[mm]", 1, 12, (isset($foreigner_family)) ? ((!is_null($foreigner_family['birthday'])) ? \Carbon\Carbon::parse($foreigner_family['birthday'])->format('n') : 1) : 1, [
'class' => 'form-select',
]) !!}
月
{!! Form::selectRange("birthday[dd]", 1, 31, (isset($foreigner_family)) ? ((!is_null($foreigner_family['birthday'])) ? \Carbon\Carbon::parse($foreigner_family['birthday'])->format('j') : 1) : 1, [
'class' => 'form-select',
]) !!}
日
{!! Form::checkbox('family[null]', 1, (isset($foreigner_family)) ? ((!is_null($foreigner_family['birthday'])) ? false : true) : false, [
'class' => 'form-check-input mt-0 me-2',
]) !!}
不明
{!! Form::text('foreigner_family[job_name]', (isset($foreigner_family)) ? $foreigner_family['job_name'] : '', [
'class' => 'form-control',
]) !!}
{!! Form::text('foreigner_family[mobile]', (isset($foreigner_family)) ? $foreigner_family['mobile'] : '', [
'class' => 'form-control',
]) !!}
{!! Form::text('foreigner_family[email]', (isset($foreigner_family)) ? $foreigner_family['email'] : '', [
'class' => 'form-control',
]) !!}
{!! Form::textarea('foreigner_family[remark]', (isset($foreigner_family)) ? $foreigner_family['remark'] : '', [
'class' => 'form-control',
'rows' => '6',
]) !!}
{!! Form::select("foreigner_vaccine[mtb_vaccine_id]", $vaccine_list, (isset($foreigner_vaccine)) ? $foreigner_vaccine['mtb_vaccine_id'] : '', [
'class' => 'form-select',
]) !!}
{!! Form::date('foreigner_vaccine[date_done]', (isset($foreigner_vaccine)) ? $foreigner_vaccine['date_done'] : '', [
'class' => 'form-control',
]) !!}
@for($i = 0; $i <= 1; $i++)
@endfor
{!! Form::textarea('foreigner_vaccine[remark]', (isset($foreigner_vaccine)) ? $foreigner_vaccine['remark'] : '', [
'class' => 'form-control',
'rows' => '6',
]) !!}
{!! Form::select("foreigner_workplace[mtb_workplace_id]", $workplace_list, (isset($foreigner_workplace)) ? $foreigner_workplace['mtb_workplace_id'] : '', [
'class' => 'form-select',
]) !!}
{!! Form::select("foreigner_workplace[mtb_employee_id]", $employee_list, (isset($foreigner_workplace)) ? $foreigner_workplace['mtb_employee_id'] : '', [
'class' => 'form-select',
]) !!}
{!! Form::date('foreigner_workplace[date_start]', (isset($foreigner_workplace)) ? $foreigner_workplace['date_start'] : '', [
'class' => 'form-control',
]) !!}
{!! Form::date('foreigner_workplace[date_end]', (isset($foreigner_workplace)) ? $foreigner_workplace['date_end'] : '', [
'class' => 'form-control',
]) !!}
@for($i = 0; $i <= 1; $i++)
@endfor
@for($i = 0; $i <= 1; $i++)
@endfor
{!! Form::textarea('foreigner_workplace[remark]', (isset($foreigner_workplace)) ? $foreigner_workplace['remark'] : '', [
'class' => 'form-control',
'rows' => '6',
]) !!}