@inject('org_user', 'App\Helpers\OrganizationUserHelper')
{{-- --}} @forelse ($model->evaluators as $evaluator) {{-- --}} @empty @endforelse
{{ __('table.sn') }} Evaluator Name Deadline Instructions Remarks {{ __('table.action') }}
{{ $loop->index + 1 }}. {{ $evaluator->users->name ?? '-' }} {!! \Carbon\Carbon::parse($evaluator->deadline)->format('Y-m-d') ?? '-' !!} {!! $evaluator->instruction_details ?? '-' !!} {{ $evaluator->remarks ?? '-' }}
@csrf @method('DELETE')
{{ __('table.no_data') }}
Assign Evaluator
{{ html()->form('POST', route('organization.evaluators.store'))->id('form-validator')->acceptsFiles()->open() }}
{{ ym_select2([ 'label' => __('form.Evaluator'), 'name' => 'org_user_id', 'required' => true, 'value' => $ev->org_user_id ?? null, 'options' => $org_user->dropdown(), 'id' => 'select-role', 'placeholder' => 'Select Evaluator', ]) }} {{ ym_date([ 'label' => __('form.Deadline'), 'name' => 'deadline', 'value' => $ev->deadline ?? '', ]) }} {{ ym_input([ 'label' => __('form.Remarks'), 'type' => 'text', 'name' => 'remarks', 'value' => $ev->remarks ?? '', ]) }}
{{ ym_textarea([ 'label' => __('form.Instruction Details'), 'name' => 'instruction_details', 'value' => $ev->instruction_details ?? '', 'editor' => 'editor', ]) }}
{{ __('form.Cancel') }}
{{ html()->closeModelForm() }}