@extends('organizations.layouts.default') @section('title') / Apply @endsection @section('content')
{!! htmlScriptTagJsApi() !!}

@php $staus = config('dropdown.roster_application_status'); @endphp
Application Status: {{ $staus[$appDetails->app_status] }}
Go back

{{ $model->roster_title }}
{{ $model->organization->name ?? '-' }}
Publish Date: {{ $model->start_date->format('Y-m-d') }}
Expiry Date: {{ $model->end_date->format('Y-m-d') }}
@php $appliedServices = $appDetails->applicationServices->pluck('roster_open_id')->toArray(); @endphp @if ($model->expiry_date < now()) {{ html()->modelForm($model, 'POST', route('organization.roster-applications.update', $appDetails->id))->id('form-validator')->acceptsFiles()->open() }} @method('PUT') @if ($model->form_type == 1)
Please select your services your company works on
@foreach (config('dropdown.roster_service_category') as $key => $category)

{{ $category }}

    @foreach ($model->rosterOpens->where('category_id', $key) as $ro)
  • id, $appliedServices) ? 'checked' : '' }} />
  • @endforeach
@endforeach
{{ $model->lang == 'np' ? 'निबेदन साथ पेश गनु पर्ने कागजातहरु' : 'Required Documents along with Application' }}

Please upload documents or provide your document url

@foreach ($model->rosterDocuments as $doc) @php $docs = $appDetails->applicationDocuments ->where('document_title', $doc->document_title) ->first(); @endphp
* @if ($docs) @endif
@if ($docs && $docs->document_file) File @endif
@endforeach @endif
{{ ym_textarea([ 'label' => __('form.Application Details'), 'name' => 'cover_letter', 'editor' => 'editor', 'value' => $appDetails->cover_letter, 'required' => true, 'enlarge' => true, ]) }}
{{ ym_file([ 'label' => __('form.Application File'), 'name' => 'cover_letter_file', ]) }}
Apply
{{ html()->closeModelForm() }} @endif
@endsection