{{ html()->modelForm($model, 'POST', route('organization.tender-related-documents.store'))->id('form-validator')->acceptsFiles()->open() }}
{{ ym_input([ 'label' => __('form.Document Title'), 'type' => 'text', 'name' => 'document_title', 'required' => true, 'value' => $model->document_title, ]) }} {{ ym_file([ 'label' => __('form.Document File'), 'name' => 'document_file', 'value' => $model->document_file, ]) }} {{ ym_input([ 'label' => __('form.Document External Link'), 'type' => 'text', 'name' => 'document_external_link', 'value' => $model->document_external_link, ]) }} {{ ym_input([ 'label' => __('form.Remarks'), 'type' => 'text', 'name' => 'remarks', 'value' => $model->remarks, ]) }}
{{ html()->closeModelForm() }}
@forelse ($model->relatedDocuments as $related) @empty @endforelse
{{ __('table.sn') }} Document Title Document File External Link Remarks {{ __('table.action') }}
{{ $loop->index + 1 }}. {{ $related->document_title }} @if ($related->document_file) FILE @else - @endif {{ $related->document_external_link ?? '-' }} {{ $related->remarks }}
@csrf @method('DELETE')
{{ __('table.no_data') }}