@role('admin')
{{ Form::label('client_id', 'Client:', ['class' => 'label form__label required']) }} {{ Form::select('client_id', $clients, null, ['class' => 'input input--select form__input', 'required' => 'required', 'placeholder' => 'Choose a client']) }}
Company:
@endrole
{{ Form::label('to_language_id', 'Languages:', ['class' => 'label form__label required']) }} {{ Form::select('to_language_id', $languages, null, ['class' => 'input input--select form__input', 'required' => 'required', 'placeholder' => 'To']) }} {{ Form::select('from_language_id', $languages, null, ['class' => 'input input--select form__input', 'required' => 'required', 'placeholder' => 'From']) }}
{{ Form::label('skill_id', 'Service type:', ['class' => 'label form__label required']) }} {{ Form::select('skill_id', $skills, null, ['class' => 'input input--select form__input', 'required' => 'required', 'placeholder' => 'Choose service type']) }}
{{ Form::label('word_count', 'Word count:', ['class' => 'label form__label required']) }} {{ Form::number('word_count', null, ['class' => 'input form__input form__input--small', 'placeholder' => 'Eg. 250', 'min' => 0, 'required' => 'required']) }}
{{ Form::label('target_date', 'Delivery date:', ['class' => 'label form__label required']) }} {{ Form::text('target_date', isset($translatorJob) ? $translatorJob->target_date->toDateString() : null, [ 'class' => 'input input--select form__input', 'placeholder' => 'Select date', 'required' => 'required', ]) }}
{{ Form::label('notes', 'Special instructions/ notes', ['class' => 'label form__label']) }} {{ Form::textarea('notes', null, ['class' => 'input input--textarea form__input form__special-instructions', 'placeholder' => 'Please enter the name of interpreter if required or any other special instructions…']) }}
{{ Form::label('affirmation', 'Affirmation required:', ['class' => 'label form__label required']) }} {{ Form::select('affirmation', [1 => 'Yes', 0 => 'No'], null, ['class' => 'input input--select form__input', 'required' => 'required', 'placeholder' => 'Yes or No']) }}
{{ Form::label('affidavit', 'Sworn affidavit required:', ['class' => 'label form__label required']) }} {{ Form::select('affidavit', [1 => 'Yes', 0 => 'No'], null, ['class' => 'input input--select form__input', 'required' => 'required', 'placeholder' => 'Yes or No']) }}
@if (isset($translatorJob)) @else @endif
{{ Form::label('client_reference', 'Client Reference / Cost Code:', ['class' => 'label form__label']) }} {{ Form::text('client_reference', null, ['class' => 'input form__input', 'placeholder' => 'Please enter']) }}
{{ Form::label('requested_agent_id', 'Request Specific Translator', ['class' => 'label form__label']) }} {{ Form::select('requested_agent_id', [], null, [ 'class' => 'input input--select form__input agent--select', 'placeholder' => 'Select Translator', 'disabled' => 'disabled', 'data-job-type' => 'translator', ]) }}
@php $hidePast=false; @endphp @if (!isset($hideSubmit))
@if (isset($translatorJob)) @can('update', $translatorJob) @php $hidePast=true; @endphp {{ Form::submit('Update Job', ['class' => 'btn btn--primary form__btn']) }} @endcan @else @php $hidePast=true; @endphp {{ Form::submit('Submit Job', ['class' => 'btn btn--primary form__btn']) }} @endif
@endif
@push('scripts') @endpush