@extends('layouts.customer') @section('content')

Applicant

@if ($message = Session::get('success'))

{{ $message }}

@endif @if ($errors->any())
Whoops! There were some problems with your input.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PATCH') @php $form_data = json_decode( $formApplicant->form_data ) ?? []; @endphp @if( App\Constants\FormStatusConstants::HIRED == $status )
@foreach( $form_fields as $key => $field ) @php $value = $form_data[$key]->value; @endphp @if( $field->type == "text" )
required ? 'required' : '' }} />
@elseif( $field->type == "textarea" )
@elseif( $field->type == "select" )
@elseif( $field->type == "radio" )
@foreach( $field->options as $option )
text == $value ) checked @endif>
@endforeach
@elseif( $field->type == "checkbox" )
@foreach( $field->options as $option )
text, $value) ) checked @endif>
@endforeach
@endif @endforeach

Assign Role

{!! Form::select('roles[]', $roles, [], array('class' => 'form-control')) !!}

Manage Access

@else

Are you sure?

Applicant status marked as {{ formStatusName($status) }}

@foreach( $form_fields as $key => $field ) @php $value = $form_data[$key]->value; @endphp @if( $field->type == "text" )
required ? 'required' : '' }} />
@elseif( $field->type == "textarea" )
@elseif( $field->type == "select" )
@elseif( $field->type == "radio" )
@foreach( $field->options as $option )
text == $value ) checked @endif>
@endforeach
@elseif( $field->type == "checkbox" )
@foreach( $field->options as $option )
text, $value) ) checked @endif>
@endforeach
@endif @endforeach
@endif
@endsection